Skip to content

Commit 43f6a6f

Browse files
authored
Merge pull request #66 from firedancer-io/mjain/introduce-flatbuffers
flatbuffers: elf definitions
2 parents 8d8d11c + 8924702 commit 43f6a6f

File tree

13 files changed

+310
-147
lines changed

13 files changed

+310
-147
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build protosol
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
fetch-depth: 0
18+
19+
- name: Set up Rust
20+
uses: dtolnay/rust-toolchain@stable
21+
22+
- name: Update submodules
23+
run: git submodule update --init --recursive
24+
25+
- name: Run deps.sh
26+
run: bash ./deps.sh
27+
28+
- name: Build (release)
29+
run: cargo build --release
30+
31+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Cargo / Rust
22
target/
33
**/*.rs.bk
4+
opt/

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[submodule "shlr/flatbuffers"]
2+
path = shlr/flatbuffers
3+
url = https://github.com/firedancer-io/flatbuffers.git
4+
branch = v25.9.23-patches
5+
[submodule "shlr/protobuf"]
6+
path = shlr/protobuf
7+
url = https://github.com/protocolbuffers/protobuf
8+
branch = v25.2

Cargo.lock

Lines changed: 49 additions & 134 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ readme = "README.md"
1212
links = "protosol"
1313

1414
[build-dependencies]
15-
prost-build = "0.11.9"
15+
prost-build = "0.13.1"
16+
flatc-rust = "0.2.0"
1617

1718
[dependencies]
18-
prost = "0.11.9"
19+
prost = "0.13.1"
20+
flatbuffers = "25.9.23"

0 commit comments

Comments
 (0)