Cargo Features

zcash_keys has no features set by default.

[dependencies]
zcash_keys = { version = "0.2.0", features = ["transparent-inputs", "orchard", "sapling", "test-dependencies", "unstable"] }
transparent-inputs

Enables use of transparent key parts and addresses

Enables transparent-inputs of zcash_primitives and hdwallet

- Transparent protocols

Affects zcash_keys::keys

orchard

Enables use of Orchard key parts and addresses

Enables orchard

Affects zcash_keys::keys

sapling

Enables use of Sapling key parts and addresses

Enables sapling-crypto

Affects address::testing.arb_addr, encoding::Bech32DecodeError, encoding::encode_extended_spending_key, encoding::decode_extended_spending_key, encoding::encode_extended_full_viewing_key, encoding::decode_extended_full_viewing_key, encoding::encode_payment_address, encoding::encode_payment_address_p, encoding::decode_payment_address, keys::sapling, zcash_keys::keys

test-dependencies

Exposes APIs that are useful for testing, such as proptest strategies.

Enables test-dependencies of zcash_primitives, test-dependencies of optional orchard and proptest

- Test dependencies

unstable

### Experimental features

Exposes unstable APIs. Their behaviour may change at any time.

Enables byteorder

- Encodings

Affects keys::Era