Use ahash as default hasher.
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -24,7 +24,7 @@ categories = [ "no-std", "embedded", "wasm", "parser-implementations" ]
|
||||
|
||||
[dependencies]
|
||||
smallvec = { version = "1.4", default-features = false }
|
||||
fxhash = { version = "0.2" }
|
||||
ahash = { version = "0.3.2", default-features = false, features = ["compile-time-rng"] }
|
||||
rhai_codegen = { version = "0.3", path = "codegen" }
|
||||
|
||||
[features]
|
||||
@@ -46,7 +46,7 @@ unicode-xid-ident = ["unicode-xid"] # allow Unicode Standard Annex #31 for ident
|
||||
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" ]
|
||||
no_std = [ "smallvec/union", "num-traits/libm", "hashbrown", "core-error", "libm" ]
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
@@ -76,12 +76,6 @@ default-features = false
|
||||
features = ["ahash", "nightly", "inline-more"]
|
||||
optional = true
|
||||
|
||||
[dependencies.ahash]
|
||||
version = "0.3.2"
|
||||
default-features = false
|
||||
features = ["compile-time-rng"]
|
||||
optional = true
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0.116"
|
||||
default_features = false
|
||||
|
Reference in New Issue
Block a user