Add testing-environ feature.

This commit is contained in:
Stephen Chung
2023-03-02 13:16:15 +08:00
parent 86ccb37029
commit a2f8d057f8
3 changed files with 57 additions and 22 deletions

View File

@@ -117,6 +117,11 @@ std = ["ahash/std", "num-traits/std", "smartstring/std"]
## Use [`stdweb`](https://crates.io/crates/stdweb) as JavaScript interface.
stdweb = ["getrandom/js", "instant/stdweb"]
#! ### Features used in testing environments only
## Running under a testing environment.
testing-environ = []
[[bin]]
name = "rhai-repl"
required-features = ["rustyline"]