Skip to content

Commit

Permalink
SFT-3538: Add foundation-firmware crate.
Browse files Browse the repository at this point in the history
* Cargo.toml (workspace.dependencies): Add nom and secp256k1.
* firmware/Cargo.toml: New cargo package.
* firmware/src/lib.rs: New library file.
  • Loading branch information
jeandudey committed Apr 8, 2024
1 parent 9f1973c commit fa9971e
Show file tree
Hide file tree
Showing 3 changed files with 432 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"arena",
"codecs",
"ffi",
"firmware",
"test-vectors",
"ur",
"urtypes",
Expand All @@ -30,8 +31,10 @@ hex = { version = "0.4.2", default-features = false }
itertools = { version = "0.10", default-features = false }
libfuzzer-sys = "0.4"
minicbor = { version = "0.20", features = ["derive"] }
nom = { version = "7", default-features = false }
phf = { version = "0.11", features = ["macros"], default-features = false }
rand_xoshiro = "0.6"
secp256k1 = { version = "0.28", default-features = false }
serde = { version = "1.0.156", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", default-features = false }
Expand Down
11 changes: 11 additions & 0 deletions firmware/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "foundation-firmware"
version = "0.1.0"
description = "Firmware image format"
edition = "2021"
license = "GPL-3.0-or-later AND GPL-3.0-only"

[dependencies]
bitcoin_hashes = { workspace = true }
nom = { workspace = true }
secp256k1 = { workspace = true }
Loading

0 comments on commit fa9971e

Please sign in to comment.