Cargo Features
lang-interpreter has no features set by default.
[dependencies]
lang-interpreter = { version = "0.0.7", features = ["custom-logging", "wasm", "wasm-platform-api"] }
- custom-logging
-
Affects
terminal_io::custom_logging
… - wasm wasm-platform-api?
-
Enables web-time, console of web-sys and getrandom ^0.2.15
"getrandom" is required for "ahash" but will not work on WASM without enabling the "js" flag
For building to WASM, the "js" flag must be enabled hereAffects
custom_logging::wasm
… - wasm-platform-api = wasm
-
Enables Url, WorkerLocation, XmlHttpRequest and XmlHttpRequestResponseType of web-sys
Affects
platform::wasm
,regex_patterns::WASM_STARTS_WITH_MULTIPLE_DOUBLE_SLASH
…