Cargo Features
[dependencies]
bls12_381_plus = { version = "0.8.18", default-features = false, features = ["std", "alloc", "bits", "expose-fields", "groups", "pairings", "ark"] }
- default = alloc, bits, groups, pairings
-
These default features are set whenever
bls12_381_plus
is added without
somewhere in the dependency tree.default-features = false - std ark?
- alloc default
- bits default
- expose-fields = groups
-
Affects
bls12_381_plus::fp
,bls12_381_plus::fp2
… - groups default expose-fields? pairings = group
- pairings default = groups, pairing
- ark = ark-bls12-381, ark-ec, ark-ff, ark-serialize, num-bigint, num-traits, rand, std
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.
- ark-bls12-381 ark?
-
Enables ark-bls12-381 ^0.4
- ark-ec ark?
-
Enables ark-ec ^0.4
- ark-ff ark?
-
Enables ark-ff ^0.4
- ark-serialize ark?
-
Enables ark-serialize ^0.4
- num-bigint ark?
- num-traits ark?
- pairing pairings
- rand ark?
- group alloc groups