Remove stable_hash feature and use environment variable.

This commit is contained in:
Stephen Chung
2022-09-27 13:23:47 +08:00
parent a518ab62bb
commit 2ecf44a48e
6 changed files with 41 additions and 7 deletions

View File

@@ -62,7 +62,6 @@ metadata = ["serde", "serde_json", "rhai_codegen/metadata", "smartstring/serde"]
internals = [] # expose internal data structures
debugging = ["internals"] # enable debugging
serde = ["dep:serde", "smartstring/serde", "smallvec/serde"] # implement serde for rhai types
stable_hash = [] # perform all hashing with fixed seed value
# compiling for no-std
no_std = ["no-std-compat", "num-traits/libm", "core-error", "libm", "ahash/compile-time-rng", "hashbrown/ahash-compile-time-rng"]