Cargo Features

[dependencies]
masp_primitives = { version = "1.2.0", default-features = false, features = ["transparent-inputs", "test-dependencies", "arbitrary"] }
default = transparent-inputs

The transparent-inputs feature is set by default whenever masp_primitives is added without default-features = false somewhere in the dependency tree.

transparent-inputs default
test-dependencies = proptest
arbitrary

Enables arbitrary and arbitrary of nam-bls12_381, nam-jubjub, and masp_note_encryption

nam-bls12_381:

- Shielded protocols

Affects masp_primitives::MaybeArbitrary

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.

proptest test-dependencies?

Enables proptest

- Test dependencies