Cargo Features

mcai-onnxruntime has no features set by default.

[dependencies]
mcai-onnxruntime = { version = "0.0.15", features = ["model-fetching", "disable-sys-build-script", "generate-bindings"] }
model-fetching = ureq

Fetch model from ONNX Model Zoo (https://github.com/onnx/models)

disable-sys-build-script

Disable build script; used for https://docs.rs

Enables disable-sys-build-script of mcai-onnxruntime-sys

generate-bindings

Enables generate-bindings of mcai-onnxruntime-sys

mcai-onnxruntime-sys:

Use bindgen to generate bindings in build.rs

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.

ureq model-fetching?

Enables ureq

Enabled with 'model-fetching' feature