Add std feature.

This commit is contained in:
Stephen Chung 2022-08-12 09:59:48 +08:00
parent bfc766f725
commit ac1f661ab0
2 changed files with 8 additions and 3 deletions

8
.gitignore vendored
View File

@ -3,7 +3,11 @@ Cargo.lock
.vscode/ .vscode/
.cargo/ .cargo/
benches/results benches/results
before*
after*
.rhai-repl-history.txt .rhai-repl-history.txt
clippy.toml clippy.toml
Rhai.toml
before*
after*
**/*.bat
doc/rhai-sync.json
doc/rhai.json

View File

@ -18,8 +18,9 @@ Bug fixes
New features New features
------------ ------------
### New feature flag ### New feature flags
* A new feature flag, `std`, which is enabled by default, is added due to requirements from dependency crates.
* A new feature flag, `no_custom_syntax`, is added to remove custom syntax support from Rhai for applications that do not require it (which should be most). * A new feature flag, `no_custom_syntax`, is added to remove custom syntax support from Rhai for applications that do not require it (which should be most).
### Module documentation ### Module documentation