From 0ec85d362ddff38e89edc1add307da9d37d4263c Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 23 Aug 2018 21:10:04 +0100 Subject: [PATCH] Set up a Cargo workspace --- Cargo.toml | 9 +++++++++ README.md | 24 ++++++++++++++++++++++++ librustzcash/Cargo.toml | 5 ----- 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 Cargo.toml create mode 100644 README.md diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 000000000..2f2976857 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[workspace] +members = [ + "librustzcash", +] + +[profile.release] +lto = true +panic = 'abort' +codegen-units = 1 diff --git a/README.md b/README.md new file mode 100644 index 000000000..3df799fe0 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Zcash Rust crates + +This repository contains a (work-in-progress) set of Rust crates for +working with Zcash. + +## Security Warnings + +These libraries are currently under development and have not been fully-reviewed. + +## License + +All code in this workspace is licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally +submitted for inclusion in the work by you, as defined in the Apache-2.0 +license, shall be dual licensed as above, without any additional terms or +conditions. diff --git a/librustzcash/Cargo.toml b/librustzcash/Cargo.toml index 91daec5cc..f90c98182 100644 --- a/librustzcash/Cargo.toml +++ b/librustzcash/Cargo.toml @@ -28,8 +28,3 @@ rev = "7a5b5fc99ae483a0043db7547fb79a6fa44b88a9" [dependencies.sapling-crypto] git = "https://github.com/zcash-hackworks/sapling-crypto" rev = "21084bde2019c04bd34208e63c3560fe2c02fb0e" - -[profile.release] -lto = true -panic = 'abort' -codegen-units = 1