Skip to content

Commit

Permalink
zcash_primitives: Move the local-consensus module to the `zcash_pro…
Browse files Browse the repository at this point in the history
…tocol` crate.
  • Loading branch information
nuttycom committed Jan 29, 2024
1 parent 073b676 commit ccfd94a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions components/zcash_protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ unstable-nu6 = []

## Exposes early in-development features that are not yet planned for any network upgrade.
zfuture = []

## Exposes support for working with a local consensus (e.g. regtest
local-consensus = []
2 changes: 2 additions & 0 deletions components/zcash_protocol/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
#![allow(clippy::result_unit_err)]

pub mod consensus;
#[cfg(feature = "local-consensus")]
pub mod local_consensus;
pub mod constants;
pub mod value;
File renamed without changes.
3 changes: 0 additions & 3 deletions zcash_primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ unstable-nu6 = ["zcash_protocol/unstable-nu6"]

## Exposes early in-development features that are not yet planned for any network upgrade.
zfuture = ["zcash_protocol/zfuture"]

## Exposes support for working with a local consensus (e.g. regtest
local-consensus = []
[lib]
bench = false

Expand Down
2 changes: 0 additions & 2 deletions zcash_primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ pub mod transaction;
pub use zip32;
#[cfg(feature = "zfuture")]
pub mod extensions;
#[cfg(feature = "local-consensus")]
pub mod local_consensus;
pub mod zip339;

0 comments on commit ccfd94a

Please sign in to comment.