BuBuildFeature enum
Single Cargo feature compiled into the backend artifact.
Values
- std → const BuBuildFeature
-
std(OS-backed; always on for FFI, on for WASM via wasm-bindgen).const BuBuildFeature(1 << 0) - alloc → const BuBuildFeature
-
alloc(allocation-using APIs available).const BuBuildFeature(1 << 1) - ffi → const BuBuildFeature
-
ffi(native C ABI present — always set onBuBackendKind.ffi).const BuBuildFeature(1 << 2) - wasm → const BuBuildFeature
-
wasm(wasm-bindgen exports present — always set onBuBackendKind.wasm).const BuBuildFeature(1 << 3) - groth16 → const BuBuildFeature
-
groth16(Groth16 verifiers).const BuBuildFeature(1 << 4) - groth16Prover → const BuBuildFeature
-
groth16-prover(Groth16 proving machinery).const BuBuildFeature(1 << 5) - poseidonBn254 → const BuBuildFeature
-
poseidon-bn254(circomlib-compatible BN254 Poseidon).const BuBuildFeature(1 << 6) - multicore → const BuBuildFeature
-
multicore(parallel MSM/FFT for native proving).const BuBuildFeature(1 << 7) - solanaZk → const BuBuildFeature
-
solana-zk(Solana confidential-transfer ZK).const BuBuildFeature(1 << 8) - orchardHalo2 → const BuBuildFeature
-
orchard-halo2(standalone Orchard Halo2 port).const BuBuildFeature(1 << 9) - zcashSapling → const BuBuildFeature
-
zcash-sapling(Sapling prove/verify).const BuBuildFeature(1 << 10) - zcashHalo2 → const BuBuildFeature
-
zcash-halo2(Orchard prove/verify).const BuBuildFeature(1 << 11) - zcashMerkle → const BuBuildFeature
-
zcash-incrementalmerkle(Frontier wallet trees).const BuBuildFeature(1 << 12) - hw → const BuBuildFeature
-
hw(hardware-wallet codecs).const BuBuildFeature(1 << 13) - monero → const BuBuildFeature
-
monero(Bulletproofs+ prove/verify + output scanning).const BuBuildFeature(1 << 14)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- mask → int
-
Bit this feature occupies in the
bu_build_featuresmask.final - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isIn(
int features) → bool -
Whether
features(a rawbu_build_featuresmask) has this bit set. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
int features) → Set< BuBuildFeature> -
Decodes every known feature present in
features.
Constants
-
values
→ const List<
BuBuildFeature> - A constant List of the values in this enum, in order of their declaration.