Skip to content

Commit

Permalink
Generate bindings at compile-time
Browse files Browse the repository at this point in the history
This replaces the `generate-bindings` script with a `build.rs` script
for `flipperzero-sys` that downloads the latest SDK and uses that to
generate Rust bindings.

Fixes: #41
  • Loading branch information
dcoles committed Oct 14, 2024
1 parent eda9b30 commit 527b58a
Show file tree
Hide file tree
Showing 9 changed files with 319 additions and 772 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/update_bindings.yml

This file was deleted.

7 changes: 7 additions & 0 deletions crates/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ test = false

[dependencies]
ufmt.workspace = true

[build-dependencies]
bindgen = "0.63.0"
csv = "1.1.6"
dirs = "5.0.1"
serde_json = "1.0.91"
shlex = "1.1.0"
Loading

0 comments on commit 527b58a

Please sign in to comment.