Cargo Features

[dependencies]
zcash_transparent = { version = "0.6.3", default-features = false, features = ["std", "transparent-inputs", "test-dependencies"] }
default = std

The std feature is set by default whenever zcash_transparent is added without default-features = false somewhere in the dependency tree.

std default

Enables document-features

- Documentation

and std of zcash_address, zcash_script ^0.4.2, and optional secp256k1 ^0.29

secp256k1:
  • SecretKey and PublicKey types exposed

transparent-inputs

Enables spending transparent notes with the transaction builder.

Enables secp256k1 ^0.29 and secp256k1-ffi of bip32

  • Transparent inputs
    • Error type exposed

Affects builder::TransparentInputInfo, builder::TransparentSignatureContext, keys::AccountPrivKey, keys::AccountPubKey, keys::IncomingViewingKey, keys::ExternalIvk, keys::InternalIvk, keys::EphemeralIvk, zcash_transparent::zip48

test-dependencies

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

Enables test-dependencies of zcash_protocol and proptest >=1, <1.7

- Test dependencies