-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from zcash/incrementalmerkletree_no_std
incrementalmerkletree: Enable use in `no_std` environments.
- Loading branch information
Showing
7 changed files
with
57 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "incrementalmerkletree" | ||
description = "Common types, interfaces, and utilities for Merkle tree data structures" | ||
version = "0.8.0" | ||
version = "0.8.1" | ||
authors = [ | ||
"Sean Bowe <[email protected]>", | ||
"Kris Nuttycombe <[email protected]>", | ||
|
@@ -18,7 +18,7 @@ all-features = true | |
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] | ||
either = "1.8" | ||
either = { version = "1.8", default-features = false } | ||
proptest = { workspace = true, optional = true } | ||
rand = { version = "0.8", optional = true } | ||
rand_core = { version = "0.6", optional = true } | ||
|
@@ -30,10 +30,14 @@ rand_core = "0.6" | |
rand_chacha = "0.3" | ||
|
||
[features] | ||
# The `std` feature is no longer enabled by default because it is not needed | ||
# for backwards compatibility; it is only enabled by the `test-dependencies` | ||
# feature. | ||
std = [] | ||
# The legacy-api feature guards types and functions that were previously | ||
# part of the `zcash_primitives` crate. Those types were removed in the | ||
# `zcash_primitives` 0.12 release and are now maintained here. | ||
legacy-api = [] | ||
# The test-dependencies feature guards types and functions that are | ||
# useful for testing incremental Merkle trees and Merkle tree frontiers. | ||
test-dependencies = ["dep:proptest", "dep:rand", "dep:rand_core"] | ||
test-dependencies = ["dep:proptest", "dep:rand", "dep:rand_core", "std"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters