From 316c92f9e1f29febd760a565ab6e1a5391473f07 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Sat, 7 Apr 2018 00:11:37 +0200
Subject: [PATCH] add serde crate in crypto & documents (+cargo update)
---
Cargo.lock | 2 ++
crypto/Cargo.toml | 1 +
documents/Cargo.toml | 7 ++++---
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1d44e501..d8c2d278 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -90,6 +90,7 @@ dependencies = [
"base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"base64 0.8.0 (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.37 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -103,6 +104,7 @@ dependencies = [
"linked-hash-map 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 0.2.10 (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.37 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml
index eb02b400..3cb39c12 100644
--- a/crypto/Cargo.toml
+++ b/crypto/Cargo.toml
@@ -15,6 +15,7 @@ path = "lib.rs"
base58 = "0.1.0"
base64 = "0.8.0"
rust-crypto = "0.2.36"
+serde = "1.0.24"
[features]
# Treat warnings as a build error.
diff --git a/documents/Cargo.toml b/documents/Cargo.toml
index de28ba5f..cc0e5620 100644
--- a/documents/Cargo.toml
+++ b/documents/Cargo.toml
@@ -12,13 +12,14 @@ license = "AGPL-3.0"
path = "lib.rs"
[dependencies]
-rust-crypto = "0.2.36"
-linked-hash-map = "0.5.0"
base58 = "0.1.0"
base64 = "0.8.0"
+duniter-crypto = { path = "../crypto" }
lazy_static = "1.0.0"
+linked-hash-map = "0.5.0"
regex = "0.2"
-duniter-crypto = { path = "../crypto" }
+rust-crypto = "0.2.36"
+serde = "1.0.24"
[features]
# Treat warnings as a build error.
--
GitLab