Cargo Features
[dependencies]
extism-runtime = { version = "0.5.5", default-features = false, features = ["nn", "register-http", "register-filesystem", "http"] }
- default = http, register-filesystem, register-http
-
These default features are set whenever
extism-runtime
is added without
somewhere in the dependency tree.default-features = false - nn = wasmtime-wasi-nn
-
Affects
internal::Wasi.nn
… - register-http default = ureq
-
enables wasm to be downloaded using http
- register-filesystem default
-
enables wasm to be loaded from disk
- http default = ureq
-
enables extism_http_request
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.