Cargo Features
[dependencies]
exers = { version = "0.2.0", default-features = false, features = ["all-languages", "all-runtimes", "wasm", "native", "jailed", "cpp", "python", "wasm-llvm", "cython"] }
- default = cpp, jailed, native, python, wasm
-
These default features are set whenever
exers
is added without
somewhere in the dependency tree.default-features = false - all-languages = cpp, python
-
Shortcuts
- all-runtimes = jailed, native, wasm
- wasm default all-runtimes? = wasmer, wasmer-middlewares, wasmer-wasix
-
Runtimes
Affects
runtime::LimitingTunables
,runtimes::wasm_runtime
… - native default all-runtimes? jailed
-
Affects
runtimes::native_runtime
,runtimes::jailed_runtime
… - jailed default all-runtimes? = native
-
Affects
runtimes::jailed_runtime
… - cpp default all-languages? cython?
-
Languages
Affects
compilers::cpp_compiler
… - python default all-languages?
-
Affects
compilers::python_compiler
… - wasm-llvm = wasmer-compiler-llvm
-
Additional features
- cython = cpp
-
Affects
python_compiler::PythonCompilerConfig.use_cython
,python_compiler::PythonCompilerConfig.cpp_config
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.