From 69aa0526edfb43997a392bc964edcecd11940928 Mon Sep 17 00:00:00 2001 From: Riey Date: Sat, 26 Oct 2019 23:15:36 +0900 Subject: [PATCH] Using wasmbind feature in chrono --- Cargo.lock | 2 ++ vm/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9018d49f3..c7f5cd4a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,10 +245,12 @@ name = "chrono" version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "js-sys 0.3.28 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", + "wasm-bindgen 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 33056ca53..7ce98e271 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -44,7 +44,7 @@ regex = "1" rustc_version_runtime = "0.1.*" statrs = "0.12.0" caseless = "0.2.1" -chrono = "=0.4.9" +chrono = { version = "=0.4.9", features = ["wasmbind"] } unicode-xid = "0.2.0" lazy_static = "^1.0.1" lexical = "4"