Cargo Features

[dependencies]
wasmtime-wasi-nn = { version = "20.0.1", default-features = false, features = ["openvino", "onnx", "winml"] }
default = openvino

The openvino feature is set by default whenever wasmtime-wasi-nn is added without default-features = false somewhere in the dependency tree.

openvino default

openvino is available on all platforms, it requires openvino installed.

Enables openvino

Affects backend::openvino

onnx

onnx is available on all platforms.

Enables ort

Affects backend::onnxruntime

winml

winml is only available on Windows 10 1809 and later.

Enables windows ^0.52

Affects backend::winml