From 6161709441d0da8a36b315f8499f021220f461f6 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 1 Mar 2024 01:10:26 +0000 Subject: [PATCH] Hide unstable `orchard` feature flag in rustdoc It is not part of the public API for `zcash_client_backend 0.11.0` and `zcash_client_sqlite 0.9.0`. --- zcash_client_backend/Cargo.toml | 5 ++--- zcash_client_sqlite/Cargo.toml | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/zcash_client_backend/Cargo.toml b/zcash_client_backend/Cargo.toml index 82efa0818..de0065af9 100644 --- a/zcash_client_backend/Cargo.toml +++ b/zcash_client_backend/Cargo.toml @@ -110,6 +110,8 @@ zcash_keys = { workspace = true, features = ["test-dependencies"] } time = ">=0.3.22, <0.3.24" # time 0.3.24 has MSRV 1.67 [features] +orchard = ["dep:orchard", "zcash_keys/orchard"] + ## Enables the `tonic` gRPC client bindings for connecting to a `lightwalletd` server. lightwalletd-tonic = ["dep:tonic"] @@ -120,9 +122,6 @@ transparent-inputs = [ "zcash_primitives/transparent-inputs", ] -## Enables receiving and spending Orchard funds. -orchard = ["dep:orchard", "zcash_keys/orchard"] - ## Exposes APIs that are useful for testing, such as `proptest` strategies. test-dependencies = [ "dep:proptest", diff --git a/zcash_client_sqlite/Cargo.toml b/zcash_client_sqlite/Cargo.toml index 3a4c160e6..156bd8b71 100644 --- a/zcash_client_sqlite/Cargo.toml +++ b/zcash_client_sqlite/Cargo.toml @@ -84,14 +84,11 @@ zcash_address = { workspace = true, features = ["test-dependencies"] } [features] default = ["multicore"] +orchard = ["dep:orchard", "zcash_client_backend/orchard", "zcash_keys/orchard"] ## Enables multithreading support for creating proofs and building subtrees. multicore = ["maybe-rayon/threads", "zcash_primitives/multicore"] -## Enables support for storing data related to the sending and receiving of -## Orchard funds. -orchard = ["dep:orchard", "zcash_client_backend/orchard", "zcash_keys/orchard"] - ## Exposes APIs that are useful for testing, such as `proptest` strategies. test-dependencies = [ "incrementalmerkletree/test-dependencies",