Skip to content

Commit

Permalink
Simplify dependency features (#48)
Browse files Browse the repository at this point in the history
In an effort to keep dependencies to a minimum, this PR removes unused or redundant dependency features.

Note that `zeroize/alloc` is required to support vector functionality, but this feature is already enabled by the combination of `curve25519-dalek/alloc` and `curve25519-dalek/zeroize`.
  • Loading branch information
AaronFeickert authored Feb 2, 2024
1 parent c286689 commit 92e2b70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ categories = ["cryptography"]
[dependencies]
blake3 = { version = "1.5.0", default-features = false }
curve25519-dalek = { version = "4.1.1", default-features = false, features = ["alloc", "digest", "rand_core", "zeroize"] }
itertools = { version = "0.12.0", default-features = false, features = ["use_alloc"] }
itertools = { version = "0.12.0", default-features = false }
merlin = { version = "3.0.0", default-features = false }
rand_core = { version = "0.6.4", default-features = false }
serde = { version = "1.0.195", optional = true, default-features = false, features = ["alloc", "derive"] }
serde = { version = "1.0.195", optional = true, default-features = false, features = ["derive"] }
snafu = { version = "0.8.0", default-features = false }
subtle = { version = "2.5.0", default-features = false, features = ["core_hint_black_box"] }
zeroize = { version = "1.7.0", default-features = false, features = ["alloc"] }
zeroize = { version = "1.7.0", default-features = false }

[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["cargo_bench_support"] }
rand_chacha = { version = "0.3.1", default-features = false }
rand_core = { version = "0.6.4", default-features = false, features = ["getrandom"] }

[features]
default = ["rand", "serde", "std"]
Expand Down

0 comments on commit 92e2b70

Please sign in to comment.