Skip to content

Commit

Permalink
Merge pull request #44 from Foundation-Devices/jeandudey/sft-4401-cre…
Browse files Browse the repository at this point in the history
…ate-adaptation-layer-between-nom-and-embedded-storage

SFT-4401: Add nom-embedded-storage crate.
  • Loading branch information
jeandudey authored Nov 18, 2024
2 parents d755a24 + 0bb2599 commit ded401b
Show file tree
Hide file tree
Showing 5 changed files with 806 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resolver = "2"
members = [
"arena",
"codecs",
"nom-embedded-storage",
"ffi",
"firmware",
"stratum-v1",
Expand All @@ -22,7 +23,7 @@ homepage = "https://github.com/Foundation-Devices/foundation-rs"
anyhow = { version = "1.0.83", default-features = false }
arbitrary = { version = "1", features = ["derive"] }
bech32 = { version = "0.9", default-features = false }
bip39 = { version = "2", default-features = false }
bip39 = { version = "2.1", default-features = false }
bitcoin = { version = "0.31", default-features = false }
bitcoin_hashes = { version = "0.14", default-features = false }
bs58 = "0.5"
Expand All @@ -33,11 +34,13 @@ defmt = "0.3"
derive_more = { version = "1.0", default-features = false }
embedded-io = "0.6"
embedded-io-async = "0.6"
embedded-storage = "0.3"
faster-hex = { version = "0.9", default-features = false }
heapless = { version = "0.8", default-features = false }
itertools = { version = "0.10", default-features = false }
libfuzzer-sys = "0.4"
log = { version = "0.4" }
memchr = { version = "2", default-features = false }
minicbor = { version = "0.24", features = ["derive"] }
nom = { version = "7", default-features = false }
phf = { version = "0.11", features = ["macros"], default-features = false }
Expand Down
18 changes: 18 additions & 0 deletions nom-embedded-storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: © 2024 Foundation Devices, Inc. <[email protected]>
# SPDX-License-Identifier: GPL-3.0-or-later

[package]
name = "embedded-storage-nom"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"

[features]
default = ["std"]
std = []

[dependencies]
embedded-storage = { workspace = true }
heapless = { workspace = true }
memchr = { workspace = true }
nom = { workspace = true }
Loading

0 comments on commit ded401b

Please sign in to comment.