diff --git a/Cargo.lock b/Cargo.lock index ea0af88..7aa24e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -507,6 +507,10 @@ name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "zcash_client_backend" +version = "0.0.0" + [[package]] name = "zcash_primitives" version = "0.0.0" @@ -536,10 +540,6 @@ dependencies = [ "sapling-crypto 0.0.1", ] -[[package]] -name = "zcash_wallet" -version = "0.0.0" - [[package]] name = "zip32" version = "0.0.0" diff --git a/Cargo.toml b/Cargo.toml index f25ea72..03c5178 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,9 @@ members = [ "librustzcash", "pairing", "sapling-crypto", + "zcash_client_backend", "zcash_primitives", "zcash_proofs", - "zcash_wallet", "zip32", ] diff --git a/zcash_wallet/Cargo.toml b/zcash_client_backend/Cargo.toml similarity index 65% rename from zcash_wallet/Cargo.toml rename to zcash_client_backend/Cargo.toml index a7b6c91..f3c6fd6 100644 --- a/zcash_wallet/Cargo.toml +++ b/zcash_client_backend/Cargo.toml @@ -1,8 +1,9 @@ [package] -name = "zcash_wallet" +name = "zcash_client_backend" version = "0.0.0" authors = [ "Jack Grigg ", ] +edition = "2018" [dependencies] diff --git a/zcash_wallet/LICENSE-APACHE b/zcash_client_backend/LICENSE-APACHE similarity index 100% rename from zcash_wallet/LICENSE-APACHE rename to zcash_client_backend/LICENSE-APACHE diff --git a/zcash_wallet/LICENSE-MIT b/zcash_client_backend/LICENSE-MIT similarity index 100% rename from zcash_wallet/LICENSE-MIT rename to zcash_client_backend/LICENSE-MIT diff --git a/zcash_wallet/README.md b/zcash_client_backend/README.md similarity index 92% rename from zcash_wallet/README.md rename to zcash_client_backend/README.md index 14c1a38..da5c9e2 100644 --- a/zcash_wallet/README.md +++ b/zcash_client_backend/README.md @@ -1,6 +1,6 @@ -# zcash_wallet +# zcash_client_backend -This library contains Rust structs and traits for creating shielded Zcash wallets. +This library contains Rust structs and traits for creating shielded Zcash light clients. ## License diff --git a/zcash_client_backend/src/lib.rs b/zcash_client_backend/src/lib.rs new file mode 100644 index 0000000..0563126 --- /dev/null +++ b/zcash_client_backend/src/lib.rs @@ -0,0 +1,12 @@ +//! *A crate for implementing Zcash light clients.* +//! +//! `zcash_client_backend` contains Rust structs and traits for creating shielded Zcash +//! light clients. + +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} diff --git a/zcash_wallet/src/lib.rs b/zcash_wallet/src/lib.rs deleted file mode 100644 index 31e1bb2..0000000 --- a/zcash_wallet/src/lib.rs +++ /dev/null @@ -1,7 +0,0 @@ -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - assert_eq!(2 + 2, 4); - } -}