Cargo Features

zcash_client_backend has no features set by default.

[dependencies]
zcash_client_backend = { version = "0.12.1", features = ["lightwalletd-tonic", "lightwalletd-tonic-transport", "transparent-inputs", "orchard", "test-dependencies", "unstable", "unstable-serialization", "unstable-spanning-tree"] }
lightwalletd-tonic lightwalletd-tonic-transport?

Enables the tonic gRPC client bindings for connecting to a lightwalletd server.

Enables tonic ^0.10

Affects service::compact_tx_streamer_client

lightwalletd-tonic-transport = lightwalletd-tonic

Enables the transport feature of tonic producing a fully-featured client and server implementation

Enables transport of optional tonic ^0.10

transparent-inputs

Enables receiving transparent funds and shielding them.

Enables transparent-inputs of zcash_keys and zcash_primitives and hdwallet

- Errors

Affects input_selection::ShieldingSelector, wallet::propose_shielding, wallet::shield_transparent_funds, data_api::InputSource.get_unspent_transparent_output, data_api::InputSource.get_unspent_transparent_outputs, data_api::WalletRead.get_transparent_receivers, data_api::WalletRead.get_transparent_balances, wallet::TransparentAddressMetadata

orchard

Enables receiving and spending Orchard funds.

Enables orchard, orchard of zcash_keys

Affects data_api::ORCHARD_SHARD_HEIGHT, data_api::NoteRetention.should_retain_orchard, data_api::WalletRead.get_orchard_nullifiers, data_api::ScannedBlockCommitments.orchard, data_api::WalletCommitmentTrees.with_orchard_tree_mut, data_api::WalletCommitmentTrees.put_orchard_subtree_roots, data_api::MockWalletDb.orchard_tree, fees::orchard, wallet::WalletOrchardSpend, wallet::WalletOrchardOutput

test-dependencies

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

Enables test-dependencies of zcash_keys and zcash_primitives and proptest

- Test dependencies

and test-dependencies of incrementalmerkletree and optional orchard

incrementalmerkletree:

- Note commitment trees

Affects chain::testing, data_api::testing

unstable

### Experimental features

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

Enables unstable of zcash_keys and byteorder

- Encodings

unstable-serialization

Exposes APIs for unstable serialization formats. These may change at any time.

Enables byteorder

Affects zcash_client_backend::serialization

unstable-spanning-tree

Exposes the data_api::scanning::spanning_tree module.

Affects spanning_tree::SpanningTree