Cargo Features
ConjureRuntime has no features set by default.
[dependencies]
conjure-runtime = { version = "7.2.0", features = ["js"] }
- js
-
Enables js of conjure-object and wasm_js of getrandom ^0.3
getrandom:
Optional backend: wasm_js
This flag enables the wasm_js backend and uses it by default on wasm32 where the target_os is unknown. The getrandom_backend cfg may override this.
WARNING: We strongly recommend against enabling this feature in libraries (except for tests) since it is known to break non-Web WASM builds and further since the usage of
wasm-bindgencauses significant bloat toCargo.lock(on all targets).The only exception to this rule: if your crate already unconditionally depends on
wasm-bindgenorjs-syson "unknown" WASM targets then it's acceptable to enable this feature unconditionally.
ConjureRuntime has 1 feature without comment.