From 14a13685206bdbe49d8b544b89790528c50cfe3d Mon Sep 17 00:00:00 2001 From: Wei Tang Date: Fri, 11 May 2018 17:59:45 +0800 Subject: [PATCH] Update lazy_static dependencies to 1.0 --- Cargo.lock | 14 ++++++++++---- keys/Cargo.toml | 2 +- network/Cargo.toml | 2 +- verification/Cargo.toml | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bbdcff5a..ac6aa516 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -497,7 +497,7 @@ dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitcrypto 0.1.0", "eth-secp256k1 0.5.7 (git+https://github.com/ethcore/rust-secp256k1)", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "primitives 0.1.0", "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)", @@ -513,6 +513,11 @@ name = "lazy_static" version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "lazy_static" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "lazycell" version = "0.5.1" @@ -676,7 +681,7 @@ name = "network" version = "0.1.0" dependencies = [ "chain 0.1.0", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "primitives 0.1.0", ] @@ -1107,7 +1112,7 @@ name = "shell32-sys" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1387,7 +1392,7 @@ dependencies = [ "bitcrypto 0.1.0", "chain 0.1.0", "db 0.1.0", - "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "network 0.1.0", "parking_lot 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1519,6 +1524,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" "checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" +"checksum lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c8f31047daa365f19be14b47c29df4f7c3b581832407daabe6ae77397619237d" "checksum lazycell 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3b585b7a6811fb03aa10e74b278a0f00f8dd9b45dc681f148bb29fa5cb61859b" "checksum libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "5ba3df4dcb460b9dfbd070d41c94c19209620c191b0340b929ce748a2bcd42d2" "checksum linked-hash-map 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6d262045c5b87c0861b3f004610afd0e2c851e2908d08b6c870cbb9d5f494ecd" diff --git a/keys/Cargo.toml b/keys/Cargo.toml index a676be8f..0e034f74 100644 --- a/keys/Cargo.toml +++ b/keys/Cargo.toml @@ -6,7 +6,7 @@ authors = ["debris "] [dependencies] rand = "0.4" rustc-serialize = "0.3" -lazy_static = "0.2" +lazy_static = "1.0" base58 = "0.1" eth-secp256k1 = { git = "https://github.com/ethcore/rust-secp256k1" } bitcrypto = { path = "../crypto" } diff --git a/network/Cargo.toml b/network/Cargo.toml index 21ee79bd..5ea67a8d 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" authors = ["debris "] [dependencies] -lazy_static = "0.2" +lazy_static = "1.0" chain = { path = "../chain" } primitives = { path = "../primitives" } diff --git a/verification/Cargo.toml b/verification/Cargo.toml index 703e5b29..628fe620 100644 --- a/verification/Cargo.toml +++ b/verification/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Nikolay Volf "] [dependencies] time = "0.1" -lazy_static = "0.2" +lazy_static = "1.0" log = "0.4" rayon = "0.8" parking_lot = "0.4" @@ -19,4 +19,4 @@ bitcrypto = { path = "../crypto" } [dev-dependencies] test-data = { path = "../test-data" } -db = { path = "../db" } \ No newline at end of file +db = { path = "../db" }