Cargo Features
[dependencies]
dusk-bls12_381 = { version = "0.13.0", default-features = false, features = ["alloc", "bits", "groups", "pairings", "experimental", "nightly", "parallel", "rkyv-impl", "serde", "zeroize", "byteorder"] }
End
- default = alloc, bits, byteorder, groups, pairings, parallel
-
These default features are set whenever
dusk-bls12_381
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Affects
expand_msg::ExpandMessageState.into_vec
,pairings::G2Prepared
,pairings::multi_miller_loop
,dusk::multiscalar_mul
… - bits default
- groups default pairings = group
-
Affects
dusk::multiscalar_mul
… - pairings default = groups, pairing
- experimental = digest
-
Affects
dusk-bls12_381::hash_to_curve
… - nightly
-
subtle:
DEPRECATED: As of 2.4.1, this feature does nothing.
- parallel default = rayon
-
Features added by Dusk
- rkyv-impl = bytecheck, rkyv
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.
- rkyv rkyv-impl?
-
Enables rkyv ^0.7
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- zeroize implicit feature
- bytecheck rkyv-impl?
-
Enables bytecheck ^0.6
- byteorder default
-
Affects
multiscalar_mul::pippenger
… - digest experimental?
-
Enables digest ^0.9
- pairing pairings
- rayon parallel
- group alloc groups