diff --git a/Cargo.lock b/Cargo.lock index c2fc3d0f2b..6e9f837767 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -492,7 +492,7 @@ dependencies = [ "num-integer", "num-traits", "serde", - "time", + "time 0.1.45", ] [[package]] @@ -577,7 +577,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5795cda0897252e34380a27baf884c53aa7ad9990329cdad96d4c5d027015d44" dependencies = [ "percent-encoding 2.1.0", - "time", + "time 0.1.45", ] [[package]] @@ -1341,7 +1341,7 @@ checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" dependencies = [ "cfg-if", "libc", - "wasi", + "wasi 0.9.0+wasi-snapshot-preview1", ] [[package]] @@ -1626,7 +1626,7 @@ dependencies = [ "log 0.3.9", "mime 0.2.6", "num_cpus", - "time", + "time 0.1.45", "traitobject", "typeable", "unicase 1.4.2", @@ -1651,7 +1651,7 @@ dependencies = [ "log 0.4.8", "net2", "rustc_version", - "time", + "time 0.1.45", "tokio 0.1.22", "tokio-buf", "tokio-executor", @@ -1681,7 +1681,7 @@ dependencies = [ "log 0.4.8", "net2", "pin-project", - "time", + "time 0.1.45", "tokio 0.2.20", "tower-service", "want 0.3.0", @@ -3298,7 +3298,7 @@ dependencies = [ "sha2 0.9.1", "subtle 2.2.3", "tempdir", - "time", + "time 0.2.0", "zeroize 1.1.0", ] @@ -4649,7 +4649,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "time", + "time 0.1.45", "tokio 0.2.20", "tokio-rustls 0.13.0", "url 2.1.1", @@ -4705,7 +4705,7 @@ dependencies = [ "rocket_codegen", "rocket_http", "state", - "time", + "time 0.1.45", "toml 0.4.10", "version_check 0.9.1", "yansi", @@ -4752,7 +4752,7 @@ dependencies = [ "percent-encoding 1.0.1", "smallvec 1.4.0", "state", - "time", + "time 0.1.45", "unicode-xid 0.1.0", ] @@ -4776,7 +4776,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "time", + "time 0.1.45", "tokio 0.1.22", "tokio-timer", "xml-rs", @@ -4834,7 +4834,7 @@ dependencies = [ "rustc_version", "serde", "sha2 0.8.1", - "time", + "time 0.1.45", "tokio 0.1.22", ] @@ -5661,14 +5661,21 @@ dependencies = [ [[package]] name = "time" -version = "0.1.43" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" dependencies = [ "libc", + "wasi 0.10.0+wasi-snapshot-preview1", "winapi 0.3.8", ] +[[package]] +name = "time" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc26de0a81a07c8352b548977862908fa9863e0e6e4f0eb36b2a9f4f8845585" + [[package]] name = "tinytemplate" version = "1.0.4" @@ -6215,6 +6222,12 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" +[[package]] +name = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + [[package]] name = "wasm-bindgen" version = "0.2.62" diff --git a/transaction/core/Cargo.toml b/transaction/core/Cargo.toml index 82c77851dc..7b83100dc9 100644 --- a/transaction/core/Cargo.toml +++ b/transaction/core/Cargo.toml @@ -58,7 +58,7 @@ blake2 = { version = "0.9", default-features = false } rand = "0.7" rand_hc = "0.2" tempdir = "0.3" -time = "0.1" +time = "0.2" mc-ledger-db = { path = "../../ledger/db" } mc-util-serial = { path = "../../util/serial", features = ["std"] }