From aa5da2b1634300e79416c796925cd5042ec0d635 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Fri, 2 Nov 2018 22:29:37 +0100 Subject: [PATCH] [ref] dependence : rust-crypto -> rust-crypto-wasm --- Cargo.lock | 43 ++++++++++++------------------------ blockchain/Cargo.toml | 2 +- conf/Cargo.toml | 2 +- core/Cargo.toml | 2 +- crypto/Cargo.toml | 2 +- dal/Cargo.toml | 2 +- documents/Cargo.toml | 2 +- message/Cargo.toml | 2 +- module/Cargo.toml | 2 +- network-documents/Cargo.toml | 2 +- network/Cargo.toml | 2 +- tui/Cargo.toml | 2 +- ws2p-messages/Cargo.toml | 2 +- ws2p-v1-legacy/Cargo.toml | 2 +- ws2p/Cargo.toml | 2 +- 15 files changed, 28 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6486e776..8757784c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -238,7 +238,7 @@ dependencies = [ "duniter-message 0.1.0-a0.1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "durs-wot 0.8.0-a0.9", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -258,7 +258,7 @@ dependencies = [ "dirs 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "duniter-documents 0.9.0-b1", "duniter-module 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", @@ -275,7 +275,7 @@ dependencies = [ "duniter-message 0.1.0-a0.1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "log-panics 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", @@ -293,7 +293,7 @@ dependencies = [ "duniter-documents 0.9.0-b1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-wot 0.8.0-a0.9", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", @@ -310,7 +310,7 @@ dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "pest 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "pest_derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", @@ -326,7 +326,7 @@ dependencies = [ "duniter-documents 0.9.0-b1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)", @@ -337,7 +337,7 @@ name = "duniter-module" version = "0.1.0-a0.1" dependencies = [ "duniter-documents 0.9.0-b1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.21 (registry+https://github.com/rust-lang/crates.io-index)", @@ -350,7 +350,7 @@ version = "0.1.0-a0.1" dependencies = [ "duniter-documents 0.9.0-b1", "duniter-module 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", @@ -367,7 +367,7 @@ dependencies = [ "duniter-message 0.1.0-a0.1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "dup-crypto" -version = "0.3.0-b2" +version = "0.3.0-b3" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "base64 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -390,20 +390,6 @@ dependencies = [ "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "dup-crypto" -version = "0.3.0-b2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "base64 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", - "rust-crypto 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.78 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "durs" version = "0.1.0-a0.1" @@ -422,7 +408,7 @@ dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "duniter-documents 0.9.0-b1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "pest 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "pest_derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -450,7 +436,7 @@ dependencies = [ "duniter-message 0.1.0-a0.1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "durs-ws2p-messages 0.1.0-a0.1", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -466,7 +452,7 @@ dependencies = [ "bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "duniter-documents 0.9.0-b1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -487,7 +473,7 @@ dependencies = [ "duniter-message 0.1.0-a0.1", "duniter-module 0.1.0-a0.1", "duniter-network 0.1.0-a0.1", - "dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)", + "dup-crypto 0.3.0-b3", "durs-network-documents 0.1.0-a0.1", "durs-wot 0.8.0-a0.9", "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1323,7 +1309,6 @@ dependencies = [ "checksum digest 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "03b072242a8cbaf9c145665af9d250c59af3b958f83ed6824e13533cf76d5b90" "checksum dirs 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "37a76dd8b997af7107d0bb69d43903cf37153a18266f8b3fdb9911f28efb5444" "checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab" -"checksum dup-crypto 0.3.0-b2 (registry+https://github.com/rust-lang/crates.io-index)" = "f2c99de4ca024e4c3339674708b40e053dce53d86be68c5ec7bcc3a25804a4b1" "checksum either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3be565ca5c557d7f59e7cfcf1844f9e3033650c929c6566f511e8005f205c1d0" "checksum failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "934799b6c1de475a012a02dab0ace1ace43789ee4b99bcfbf1a2e3e8ced5de82" "checksum failure_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c7cdda555bb90c9bb67a3b670a0f42de8e73f5981524123ad8578aafec8ddb8b" diff --git a/blockchain/Cargo.toml b/blockchain/Cargo.toml index 9bd0eca3..218ff6b2 100644 --- a/blockchain/Cargo.toml +++ b/blockchain/Cargo.toml @@ -11,7 +11,7 @@ path = "lib.rs" [dependencies] dirs = "1.0.2" duniter-conf = { path = "../conf" } -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-dal = { path = "../dal" } duniter-documents = { path = "../documents" } durs-network-documents = { path = "../network-documents" } diff --git a/conf/Cargo.toml b/conf/Cargo.toml index c01cfd5c..24a426c9 100644 --- a/conf/Cargo.toml +++ b/conf/Cargo.toml @@ -14,7 +14,7 @@ serde = "1.0.*" serde_derive = "1.0.*" serde_json = "1.0.*" dirs = "1.0.2" -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } duniter-module = { path = "../module" } diff --git a/core/Cargo.toml b/core/Cargo.toml index c595c83a..fe81eec1 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,7 +12,7 @@ path = "lib.rs" dirs = "1.0.2" duniter-blockchain = { path = "../blockchain" } duniter-conf = { path = "../conf" } -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-message = { path = "../message" } duniter-module = { path = "../module" } duniter-network = { path = "../network" } diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 35767cc7..def563d3 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dup-crypto" -version = "0.3.0-b2" +version = "0.3.0-b3" authors = ["nanocryk <nanocryk@duniter.org>", "elois <elois@duniter.org>"] description = "Manage cryptographic operations for the DUP (DUniter Protocol)." repository = "https://git.duniter.org/nodes/rust/duniter-rs" diff --git a/dal/Cargo.toml b/dal/Cargo.toml index ac0d5d01..dd16c4e6 100644 --- a/dal/Cargo.toml +++ b/dal/Cargo.toml @@ -9,7 +9,7 @@ license = "AGPL-3.0" path = "lib.rs" [dependencies] -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } duniter-module = { path = "../module" } duniter-network = { path = "../network" } diff --git a/documents/Cargo.toml b/documents/Cargo.toml index 58e2ab7c..8b887f77 100644 --- a/documents/Cargo.toml +++ b/documents/Cargo.toml @@ -15,7 +15,7 @@ path = "src/lib.rs" base58 = "0.1.*" base64 = "0.9.*" byteorder = "1.2.3" -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } pest = "2.0" pest_derive = "2.0" rust-crypto = "0.2.*" diff --git a/message/Cargo.toml b/message/Cargo.toml index 53452745..c6ec17a1 100644 --- a/message/Cargo.toml +++ b/message/Cargo.toml @@ -9,7 +9,7 @@ license = "AGPL-3.0" path = "lib.rs" [dependencies] -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-dal = { path = "../dal" } duniter-documents = { path = "../documents" } duniter-module = { path = "../module" } diff --git a/module/Cargo.toml b/module/Cargo.toml index 16978872..97a06dd0 100644 --- a/module/Cargo.toml +++ b/module/Cargo.toml @@ -9,7 +9,7 @@ license = "AGPL-3.0" path = "lib.rs" [dependencies] -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } serde = "1.0.*" serde_derive = "1.0.*" diff --git a/network-documents/Cargo.toml b/network-documents/Cargo.toml index 145a566a..be4f4523 100644 --- a/network-documents/Cargo.toml +++ b/network-documents/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" [dependencies] base58 = "0.1.*" -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } pest = "2.0" pest_derive = "2.0" diff --git a/network/Cargo.toml b/network/Cargo.toml index 03be0a2b..42358ae4 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -9,7 +9,7 @@ license = "AGPL-3.0" path = "lib.rs" [dependencies] -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } duniter-module = { path = "../module" } durs-network-documents = { path = "../network-documents" } diff --git a/tui/Cargo.toml b/tui/Cargo.toml index a228fd36..f069ff32 100644 --- a/tui/Cargo.toml +++ b/tui/Cargo.toml @@ -10,7 +10,7 @@ path = "lib.rs" [dependencies] duniter-conf = { path = "../conf" } -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-dal = { path = "../dal" } duniter-documents = { path = "../documents" } duniter-message = { path = "../message" } diff --git a/ws2p-messages/Cargo.toml b/ws2p-messages/Cargo.toml index 8356a18c..fa0e7d6a 100644 --- a/ws2p-messages/Cargo.toml +++ b/ws2p-messages/Cargo.toml @@ -11,7 +11,7 @@ path = "lib.rs" [dependencies] bincode = "1.0.*" byteorder = "1.2.3" -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-documents = { path = "../documents" } durs-network-documents = { path = "../network-documents" } log = "0.4.*" diff --git a/ws2p-v1-legacy/Cargo.toml b/ws2p-v1-legacy/Cargo.toml index 5b3221b7..0350c5e7 100644 --- a/ws2p-v1-legacy/Cargo.toml +++ b/ws2p-v1-legacy/Cargo.toml @@ -11,7 +11,7 @@ path = "lib.rs" [dependencies] byteorder = "1.2.3" duniter-conf = { path = "../conf" } -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } duniter-dal = { path = "../dal" } duniter-documents = { path = "../documents" } durs-network-documents = { path = "../network-documents" } diff --git a/ws2p/Cargo.toml b/ws2p/Cargo.toml index d2d83af9..e707d349 100644 --- a/ws2p/Cargo.toml +++ b/ws2p/Cargo.toml @@ -10,7 +10,7 @@ path = "lib.rs" [dependencies] duniter-conf= { path = "../conf" } -dup-crypto = "0.3.0-b2" +dup-crypto = { path = "../crypto" } durs-network-documents = { path = "../network-documents" } durs-ws2p-messages = { path = "../ws2p-messages" } duniter-message= { path = "../message" } -- GitLab