From 75b8bf73dfe283281b2b4c5506ad43ae0345ded7 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 21 Mar 2021 23:51:24 +0800 Subject: [PATCH] Update dependencies. --- Cargo.toml | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 264e1b2a..c95fc996 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,30 +17,29 @@ categories = ["no-std", "embedded", "wasm", "parser-implementations"] [dependencies] smallvec = { version = "1.6", default-features = false, features = ["union"] } -ahash = { version = "0.6", default-features = false } +ahash = { version = "0.7", default-features = false } num-traits = { version = "0.2", default_features = false } rhai_codegen = { version = "0.3.4", path = "codegen" } [features] default = [] -unchecked = [] # unchecked arithmetic -sync = [] # restrict to only types that implement Send + Sync -no_optimize = [] # no script optimizer -no_float = [] # no floating-point -f32_float = [] # set FLOAT=f32 -only_i32 = [] # set INT=i32 (useful for 32-bit systems) -only_i64 = [] # set INT=i64 (default) and disable support for all other integer types -decimal = ["rust_decimal"] # add the Decimal number type -no_index = [] # no arrays and indexing -no_object = [] # no custom objects -no_function = ["no_closure"] # no script-defined functions (meaning no closures) -no_closure = [] # no automatic sharing and capture of anonymous functions to external variables -no_module = [] # no modules -internals = [] # expose internal data structures +unchecked = [] # unchecked arithmetic +sync = [] # restrict to only types that implement Send + Sync +no_optimize = [] # no script optimizer +no_float = [] # no floating-point +f32_float = [] # set FLOAT=f32 +only_i32 = [] # set INT=i32 (useful for 32-bit systems) +only_i64 = [] # set INT=i64 (default) and disable support for all other integer types +decimal = ["rust_decimal"] # add the Decimal number type +no_index = [] # no arrays and indexing +no_object = [] # no custom objects +no_function = ["no_closure"] # no script-defined functions (meaning no closures) +no_closure = [] # no automatic sharing and capture of anonymous functions to external variables +no_module = [] # no modules +internals = [] # expose internal data structures unicode-xid-ident = ["unicode-xid"] # allow Unicode Standard Annex #31 for identifiers. -metadata = ["serde", "serde_json"] # enables exporting functions metadata to JSON +metadata = ["serde", "serde_json"] # enables exporting functions metadata to JSON -# compiling for no-std no_std = ["smallvec/union", "num-traits/libm", "hashbrown", "core-error", "libm", "ahash/compile-time-rng"] # compiling for WASM @@ -65,7 +64,7 @@ features = ["alloc"] optional = true [dependencies.hashbrown] -version = "0.7" +version = "0.11" default-features = false features = ["ahash", "nightly", "inline-more"] optional = true @@ -99,4 +98,4 @@ instant = { version = "0.1" } # WASM implementation of std::time::Instant instant = { version = "0.1" } # WASM implementation of std::time::Instant [package.metadata.docs.rs] -features = ["metadata", "internals", "decimal"] +features = ["metadata", "internals", "decimal"] # compiling for no-std