Skip to content

Commit

Permalink
Correct no-std builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Oct 31, 2023
1 parent 05dc474 commit ae44953
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions coins/monero/generators/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ sha3 = { version = "0.10", default-features = false }
curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize", "precomputed-tables"] }

group = { version = "0.13", default-features = false }
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4" }
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4", default-features = false }

[features]
std = ["std-shims/std"]
std = ["std-shims/std", "subtle/std", "sha3/std", "dalek-ff-group/std"]
default = ["std"]
6 changes: 3 additions & 3 deletions tests/no-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
flexible-transcript = { path = "../../crypto/transcript", features = ["recommended", "merlin"] }
flexible-transcript = { path = "../../crypto/transcript", default-features = false, features = ["recommended", "merlin"] }

dalek-ff-group = { path = "../../crypto/dalek-ff-group" }
minimal-ed448 = { path = "../../crypto/ed448" }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", default-features = false }
minimal-ed448 = { path = "../../crypto/ed448", default-features = false }

ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["alloc", "secp256k1", "p256", "ed25519", "ristretto", "ed448"] }

Expand Down

0 comments on commit ae44953

Please sign in to comment.