Move the BridgeTree type to the root module.
This commit is contained in:
parent
6e97389d1b
commit
adf9ba26e4
12
Cargo.toml
12
Cargo.toml
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "incrementalmerkletree"
|
name = "bridgetree"
|
||||||
version = "0.3.0"
|
version = "0.1.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Sean Bowe <ewillbefull@gmail.com>",
|
|
||||||
"Kris Nuttycombe <kris@nutty.land>",
|
"Kris Nuttycombe <kris@nutty.land>",
|
||||||
|
"Sean Bowe <ewillbefull@gmail.com>",
|
||||||
]
|
]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "Implementation of an Incremental Merkle Tree"
|
description = "A space-efficient Merkle tree with witnessing of marked leaves, checkpointing & state restoration."
|
||||||
homepage = "https://github.com/zcash/incrementalmerkletree"
|
homepage = "https://github.com/zcash/bridgetree"
|
||||||
repository = "https://github.com/zcash/incrementalmerkletree"
|
repository = "https://github.com/zcash/bridgetree"
|
||||||
categories = ["algorithms", "data-structures"]
|
categories = ["algorithms", "data-structures"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
1389
src/bridgetree.rs
1389
src/bridgetree.rs
File diff suppressed because it is too large
Load Diff
1422
src/lib.rs
1422
src/lib.rs
File diff suppressed because it is too large
Load Diff
|
@ -244,9 +244,9 @@ pub(crate) mod tests {
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
bridgetree::BridgeTree,
|
|
||||||
hashing::Hashable,
|
hashing::Hashable,
|
||||||
position::{Level, Position},
|
position::{Level, Position},
|
||||||
|
BridgeTree,
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::{
|
use super::{
|
||||||
|
|
Loading…
Reference in New Issue