From eafb0809ae3425c918a3db3b1bb1e365413790f5 Mon Sep 17 00:00:00 2001 From: lander86 Date: Tue, 16 Nov 2021 17:14:21 +0100 Subject: [PATCH] bumping tags and fixing BUILD.md --- BUILD.md | 4 ++-- Cargo.lock | 53 ++++++++++++++++++++++++++--------------------------- Cargo.toml | 16 ++++++++-------- 3 files changed, 36 insertions(+), 37 deletions(-) diff --git a/BUILD.md b/BUILD.md index 6d3bcaa..967fdc8 100644 --- a/BUILD.md +++ b/BUILD.md @@ -6,8 +6,8 @@ rustup install 1.51.0 ``` After that, use `cargo`, the standard Rust build tool, to build the library: ```bash -git clone https://github.com/HorizenOfficial/ginger-lib.git -cd ginger-lib +git clone https://github.com/HorizenOfficial/zendoo-mc-cryptolib.git +cd zendoo-mc-cryptolib cargo build --release ``` This library comes with unit tests for each of the provided crates. Run the tests with: diff --git a/Cargo.lock b/Cargo.lock index 0c760f5..6b69ae2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,8 +8,8 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "algebra" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra-derive", "byteorder", @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "algebra-derive" version = "0.2.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "proc-macro2", "quote", @@ -40,8 +40,8 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "bench-utils" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" [[package]] name = "bit-vec" @@ -102,8 +102,8 @@ checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" [[package]] name = "cctp_primitives" -version = "0.1.0" -source = "git+https://github.com/HorizenOfficial/zendoo-cctp-lib.git?tag=0.1.0#e8547e150ca3c1dbb52262333fe2881b2a03b94b" +version = "0.1.1" +source = "git+https://github.com/HorizenOfficial/zendoo-cctp-lib.git?tag=0.1.1#6d92dc871d24129f51f2b8f9defa3cb6fb31cef2" dependencies = [ "algebra", "bit-vec", @@ -224,16 +224,16 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[package]] name = "field-assembly" version = "0.1.1-alpha.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "mince", ] [[package]] name = "flate2" -version = "1.0.22" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" +checksum = "80edafed416a46fb378521624fab1cfa2eb514784fd8921adbe8a8d8321da811" dependencies = [ "cfg-if", "crc32fast", @@ -290,8 +290,8 @@ checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" [[package]] name = "marlin" -version = "0.2.0" -source = "git+https://github.com/HorizenLabs/marlin?tag=0.2.0#4c21cabedd27f7edf6330ed53931039a30965f31" +version = "0.2.1" +source = "git+https://github.com/HorizenLabs/marlin?tag=0.2.1#7c633eea4287d855c915c7677201d385fdaae555" dependencies = [ "algebra", "bench-utils", @@ -324,7 +324,7 @@ dependencies = [ [[package]] name = "mince" version = "0.1.1-alpha.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "quote", "syn", @@ -373,8 +373,8 @@ checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f" [[package]] name = "poly-commit" -version = "0.2.0" -source = "git+https://github.com/HorizenLabs/poly-commit?tag=0.2.0#1418e43a7d55b33cababab599362089d9b2af118" +version = "0.2.1" +source = "git+https://github.com/HorizenLabs/poly-commit?tag=0.2.1#55172cc67b8e48a741f6fefc0a6ab20a73ff9b90" dependencies = [ "algebra", "bench-utils", @@ -394,8 +394,8 @@ checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" [[package]] name = "primitives" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra", "bench-utils", @@ -417,8 +417,8 @@ dependencies = [ [[package]] name = "proof-systems" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra", "bench-utils", @@ -446,8 +446,8 @@ dependencies = [ [[package]] name = "r1cs-core" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra", "smallvec", @@ -455,8 +455,8 @@ dependencies = [ [[package]] name = "r1cs-crypto" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra", "bench-utils", @@ -470,8 +470,8 @@ dependencies = [ [[package]] name = "r1cs-std" -version = "0.3.0" -source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.0#8081c6b3912ec22cd25dfba62e8cceb1d0ff1045" +version = "0.3.1" +source = "git+https://github.com/HorizenOfficial/ginger-lib.git?tag=0.3.1#885e15443ae132e51b15a96cf38581f7a9a336b6" dependencies = [ "algebra", "derivative", @@ -677,7 +677,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "zendoo-mc-crypto" -version = "0.2.0" +version = "0.2.1" dependencies = [ "algebra", "cctp_primitives", @@ -694,4 +694,3 @@ dependencies = [ "rayon", "winapi", ] - diff --git a/Cargo.toml b/Cargo.toml index 954cb53..4ffe237 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zendoo-mc-crypto" -version = "0.2.0" +version = "0.2.1" authors = [ "DanieleDiBenedetto ", "Maksym Vereshchak ", @@ -17,13 +17,13 @@ path = "src/lib.rs" crate-type = ["staticlib"] [dependencies] -algebra = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0" } -primitives = { features = ["tweedle", "merkle_tree"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0" } -cctp_primitives = { git = "https://github.com/HorizenOfficial/zendoo-cctp-lib.git", tag = "0.1.0" } -proof-systems = { features = ["darlin"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0", optional = true } -r1cs-crypto = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0", optional = true } -r1cs-core = { git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0", optional = true} -r1cs-std = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.0", optional = true} +algebra = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1" } +primitives = { features = ["tweedle", "merkle_tree"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1" } +cctp_primitives = { git = "https://github.com/HorizenOfficial/zendoo-cctp-lib.git", tag = "0.1.1" } +proof-systems = { features = ["darlin"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1", optional = true } +r1cs-crypto = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1", optional = true } +r1cs-core = { git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1", optional = true} +r1cs-std = { features = ["tweedle"], git = "https://github.com/HorizenOfficial/ginger-lib.git", tag = "0.3.1", optional = true} maybe-uninit = "=2.0.0" rand = "0.8.4"