Skip to content

Commit

Permalink
Document features
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed Jul 9, 2024
1 parent 889b480 commit ddbdbf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ rand_chacha = { version = "0.3.1", default-features = false }

[features]
default = ["rand", "std"]
# Adds proof serialization and deserialization via [`borsh`](https://crates.io/crates/borsh)
borsh = ["dep:borsh"]
# Adds additional prover functionality that supplies a cryptographically-secure random number generator
rand = ["rand_core/getrandom"]
# Adds proof serialization and deserialization via [`serde`](https://crates.io/crates/serde)
serde = ["dep:serde", "curve25519-dalek/serde", "zeroize/serde"]
std = ["blake3/std", "itertools/use_std", "merlin/std", "rand_core/std", "serde?/std", "snafu/std", "subtle/std", "zeroize/std"]
# Adds corresponding dependency features
std = ["blake3/std", "borsh?/std", "itertools/use_std", "merlin/std", "rand_core/std", "serde?/std", "snafu/std", "subtle/std", "zeroize/std"]

[[bench]]
name = "triptych"
Expand Down

0 comments on commit ddbdbf2

Please sign in to comment.