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 13, 2024
1 parent eda9b30 commit 5fee87c
Show file tree
Hide file tree
Showing 9 changed files with 322 additions and 772 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/update_bindings.yml

This file was deleted.

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

[dependencies]
ufmt.workspace = true

[build-dependencies]
bindgen = "0.63.0"
camino = "1.1.2"
curl = "0.4.44"
clap = { version = "4.0.32", features = ["cargo"] }
csv = "1.1.6"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
shlex = "1.1.0"
zip = "0.6.4"
Loading

0 comments on commit 5fee87c

Please sign in to comment.