Cargo Features
[dependencies]
sigma_fun = { version = "0.7.0", default-features = false, features = ["alloc", "secp256k1", "ed25519", "serde"] }
- default = alloc, secp256k1
-
These default features are set whenever
sigma_fun
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of secp256kfun and optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
ext::dl_secp256k1_ed25519_eq
… - secp256k1 default = secp256kfun
-
Affects
sigma_fun::secp256k1
,ext::dl_secp256k1_ed25519_eq
… - ed25519 = curve25519-dalek
-
Affects
sigma_fun::ed25519
,ext::dl_secp256k1_ed25519_eq
… - serde
-
Enables serde, serde of generic-array ^0.14, optional curve25519-dalek-ng, and optional secp256kfun
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.