From 39f4baf7692aa0c527a8e91ca9d81d9d7f75bf9e Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 30 Jul 2021 17:36:32 +0800 Subject: [PATCH] Bump Instant version to 0.1.10 to avoid erros when compiling with emscripten. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e93cc307..f0a66805 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -98,10 +98,10 @@ features = ["maths"] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies] -instant = { version = "0.1" } # WASM implementation of std::time::Instant +instant = { version = "0.1.10" } # WASM implementation of std::time::Instant [target.'cfg(target_arch = "wasm64")'.dependencies] -instant = { version = "0.1" } # WASM implementation of std::time::Instant +instant = { version = "0.1.10" } # WASM implementation of std::time::Instant [package.metadata.docs.rs] features = ["metadata", "serde", "internals", "decimal"] # compiling for no-std