From 87ccc0fe3d47bb8859686e06ef22dd298af02466 Mon Sep 17 00:00:00 2001 From: howardwu Date: Sun, 3 Jan 2021 22:37:06 -0400 Subject: [PATCH] Update snarkVM deps to crates --- Cargo.lock | 60 +++++++++++++++++++++++++++------------------ Cargo.toml | 24 +++++------------- compiler/Cargo.toml | 32 ++++++------------------ core/Cargo.toml | 24 +++++------------- gadgets/Cargo.toml | 12 +++------ state/Cargo.toml | 32 ++++++------------------ 6 files changed, 67 insertions(+), 117 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 28d73b79d5..94097f2c4f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2515,8 +2515,9 @@ checksum = "ae524f056d7d770e174287294f562e95044c68e88dec909a00d2094805db9d75" [[package]] name = "snarkvm-algorithms" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdc4273884a3c5b1858e9ccb3dd6d7acfa60c0c38bb4876aeeb3181936dbe5f3" dependencies = [ "blake2", "derivative", @@ -2535,8 +2536,9 @@ dependencies = [ [[package]] name = "snarkvm-curves" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0ab5c370fa0e394acc14474ce0ed162ca673e87ac496e733d402b5c71f177" dependencies = [ "derivative", "rand", @@ -2550,8 +2552,9 @@ dependencies = [ [[package]] name = "snarkvm-derives" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b74eecab3b4bbcef183819fb414ad3498b6c962f21a41a2afaf73af2822eec98" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.7", @@ -2560,8 +2563,9 @@ dependencies = [ [[package]] name = "snarkvm-dpc" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a3bbd6dcb0e100d514fa0f8cfb2fd8e0422660d5d816a47409d8111c536dddc" dependencies = [ "anyhow", "blake2", @@ -2582,8 +2586,9 @@ dependencies = [ [[package]] name = "snarkvm-errors" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7b46326076d2797280a335f6a4c3538e5ba57db37704233e55134b3e1ab2e79" dependencies = [ "base58", "bech32", @@ -2598,8 +2603,9 @@ dependencies = [ [[package]] name = "snarkvm-gadgets" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12ec20358b56a972bf280690ace5e5c1ba809e4cd31d31932f0bd15491f9be0d" dependencies = [ "derivative", "digest 0.8.1", @@ -2613,8 +2619,9 @@ dependencies = [ [[package]] name = "snarkvm-models" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae6d7532cfc6b888e8566e05e62384c4c7103fa3036555c54b98726fba4bb100" dependencies = [ "anyhow", "bincode", @@ -2632,8 +2639,9 @@ dependencies = [ [[package]] name = "snarkvm-objects" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd3ca38c2a7744f4dca2bdae9441da634b06f40f762323c9e361d6a2582f3353" dependencies = [ "base58", "bech32", @@ -2653,8 +2661,9 @@ dependencies = [ [[package]] name = "snarkvm-parameters" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02a6590e3860f1dc78335a2ef498b21cffa4655de4cfb7cc9027d29b1093d887" dependencies = [ "curl", "hex", @@ -2666,13 +2675,15 @@ dependencies = [ [[package]] name = "snarkvm-profiler" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed9ec5eadd049ee06e676070d5402401373fe278a42b515141a9b14ca86a795a" [[package]] name = "snarkvm-storage" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf798e9883014175e2f019f019fc4db1756cf7d57408602315b270b93992258" dependencies = [ "anyhow", "bincode", @@ -2692,8 +2703,9 @@ dependencies = [ [[package]] name = "snarkvm-utilities" -version = "0.0.1" -source = "git+https://github.com/AleoHQ/snarkVM.git?rev=f99f13d#f99f13dca012293f192eead5ba01e417a14b2a8e" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d78a4a12c67cc013d6a9574f3231aaf915589cebfd38d27d5f8ad24f1be5794f" dependencies = [ "bincode", "rand", diff --git a/Cargo.toml b/Cargo.toml index 7a3cdabf6b..08878cb385 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,39 +69,27 @@ path = "./state" version = "1.0.7" [dependencies.snarkvm-algorithms] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-curves] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-errors] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-gadgets] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-models] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dependencies.clap] version = "2.33.3" diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index a6b7482221..e8f513870d 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -58,45 +58,31 @@ path = "../type-inference" version = "1.0.7" [dependencies.snarkvm-curves] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-dpc] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-errors] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-gadgets] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-models] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-objects] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dependencies.bincode] version = "1.0" @@ -134,9 +120,7 @@ version = "0.1" version = "0.3" [dev-dependencies.snarkvm-algorithms] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [features] diff --git a/core/Cargo.toml b/core/Cargo.toml index dbe7cafc10..b570b29374 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -26,27 +26,19 @@ path = "../gadgets" version = "1.0.7" [dependencies.snarkvm-errors] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-gadgets] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-models] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dependencies.rand] version = "0.7" @@ -60,12 +52,8 @@ default-features = false version = "1.0" [dev-dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dev-dependencies.snarkvm-curves] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false diff --git a/gadgets/Cargo.toml b/gadgets/Cargo.toml index e9f998509d..e0493f35ce 100644 --- a/gadgets/Cargo.toml +++ b/gadgets/Cargo.toml @@ -18,21 +18,15 @@ license = "GPL-3.0" edition = "2018" [dependencies.snarkvm-errors] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-models] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dependencies.rand] version = "0.7" diff --git a/state/Cargo.toml b/state/Cargo.toml index 7639bac710..807aa225e6 100644 --- a/state/Cargo.toml +++ b/state/Cargo.toml @@ -26,45 +26,31 @@ path = "../ast" version = "1.0.7" [dependencies.snarkvm-algorithms] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-curves] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-dpc] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-errors] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-models] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-objects] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" default-features = false [dependencies.snarkvm-utilities] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2" [dependencies.indexmap] version = "1.6.1" @@ -80,6 +66,4 @@ version = "0.2" version = "1.0" [dev-dependencies.snarkvm-storage] -git = "https://github.com/AleoHQ/snarkVM.git" -rev = "f99f13d" -version = "0.0.1" +version = "0.0.2"