Cargo Features
[dependencies]
ors-sys = { version = "0.0.8", default-features = false, features = ["dynamic-loading", "generate-bindings"] }
- default = dynamic-loading
-
Load onnxruntime at runtime, not compile time
- dynamic-loading default = libloading
- generate-bindings = bindgen
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.
- libloading dynamic-loading
-
Enables libloading ^0.7
- bindgen build generate-bindings?
-
Enables bindgen ^0.60.1