Cargo Features

[dependencies]
bulletproofs-gadgets = { version = "2.1.2", default-features = false, features = ["std", "poseidon_x3_2", "poseidon_x3_3", "poseidon_x3_4", "poseidon_x3_5", "poseidon_x3_6", "poseidon_x3_7", "poseidon_x3_8", "poseidon_x3_9", "poseidon_x5_2", "poseidon_x5_3", "poseidon_x5_4", "poseidon_x5_5", "poseidon_x5_6", "poseidon_x5_7", "poseidon_x5_8", "poseidon_x5_9", "poseidon_x17_2", "poseidon_x17_3", "poseidon_x17_4", "poseidon_x17_5", "poseidon_x17_6", "poseidon_x17_7", "poseidon_x17_8", "poseidon_x17_9", "poseidon_inverse_2", "poseidon_inverse_3", "poseidon_inverse_4", "poseidon_inverse_5", "poseidon_inverse_6", "poseidon_inverse_7", "poseidon_inverse_8", "poseidon_inverse_9", "verify"] }
default = poseidon_inverse_6, poseidon_x17_6, poseidon_x3_6, poseidon_x5_6, std

These default features are set whenever bulletproofs-gadgets is added without default-features = false somewhere in the dependency tree.

std default = hex, num-bigint

Enables std of parity-scale-codec ^1.3.4, getrandom of rand_core ^0.5

Affects crypto_constants::utils

poseidon_x3_2

Affects poseidon::x3_2

poseidon_x3_3

Affects poseidon::x3_3

poseidon_x3_4

Affects poseidon::x3_4

poseidon_x3_5

Affects poseidon::x3_5

poseidon_x3_6 default

Affects poseidon::x3_6, smt::x3_6

poseidon_x3_7

Affects poseidon::x3_7

poseidon_x3_8

Affects poseidon::x3_8

poseidon_x3_9

Affects poseidon::x3_9

poseidon_x5_2

Affects poseidon::x5_2

poseidon_x5_3

Affects poseidon::x5_3

poseidon_x5_4

Affects poseidon::x5_4

poseidon_x5_5

Affects poseidon::x5_5

poseidon_x5_6 default

Affects poseidon::x5_6, smt::x5_6

poseidon_x5_7

Affects poseidon::x5_7

poseidon_x5_8

Affects poseidon::x5_8

poseidon_x5_9

Affects poseidon::x5_9

poseidon_x17_2

Affects poseidon::x17_2

poseidon_x17_3

Affects poseidon::x17_3

poseidon_x17_4

Affects poseidon::x17_4

poseidon_x17_5

Affects poseidon::x17_5

poseidon_x17_6 default

Affects poseidon::x17_6, smt::x17_6

poseidon_x17_7

Affects poseidon::x17_7

poseidon_x17_8

Affects poseidon::x17_8

poseidon_x17_9

Affects poseidon::x17_9

poseidon_inverse_2

Affects poseidon::inverse_2

poseidon_inverse_3

Affects poseidon::inverse_3

poseidon_inverse_4

Affects poseidon::inverse_4

poseidon_inverse_5

Affects poseidon::inverse_5

poseidon_inverse_6 default

Affects poseidon::inverse_6, smt::inverse_6

poseidon_inverse_7

Affects poseidon::inverse_7

poseidon_inverse_8

Affects poseidon::inverse_8

poseidon_inverse_9

Affects poseidon::inverse_9

verify

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.

hex std
num-bigint std

Enables num-bigint ^0.3