Cargo Features

[dependencies]
orchard = { version = "0.12.0", default-features = false, features = ["std", "circuit", "unstable-frost", "multicore", "dev-graph", "test-dependencies"] }
default = circuit, multicore, std

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

std default circuit

Enables wnaf-memuse of group, std of reddsa and std of core2 ^0.3

No-std support

circuit default = std

Enables halo2_gadgets and halo2_proofs

halo2_gadgets:

Circuit

Affects builder::UnauthorizedBundle, builder::bundle, builder::Unproven, orchard::circuit

unstable-frost
multicore default

Enables multicore of optional halo2_proofs

dev-graph = image, plotters

Enables dev-graph of optional halo2_proofs

test-dependencies = proptest

Enables std of rand ^0.8

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects note_encryption::testing, tree::testing

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.

image dev-graph?

Enables image ^0.24

Developer tooling dependencies

plotters dev-graph?
proptest test-dependencies?

Enables proptest >=1.0.0, <1.7.0