Cargo Features
[dependencies]
usls = { version = "0.1.0-rc.1", default-features = false, features = ["video", "ort-download-binaries", "ort-load-dynamic", "cuda", "tensorrt", "coreml", "openvino", "onednn", "directml", "xnnpack", "cann", "rknpu", "acl", "rocm", "nnapi", "armnn", "tvm", "qnn", "migraphx", "vitis", "azure"] }
- default = ort-download-binaries
-
The
ort-download-binaries
feature is set by default wheneverusls
is added without
somewhere in the dependency tree.default-features = false - video
-
Enables video-rs
- ort-download-binaries default = ort
-
Enables download-binaries of ort
Affects
usls::models
… - ort-load-dynamic = ort
-
Enables load-dynamic of ort
Affects
usls::models
… - cuda
- tensorrt
- coreml
- openvino
- onednn
- directml
- xnnpack
- cann
- rknpu
- acl
- rocm
- nnapi
- armnn
- tvm
- qnn
- migraphx
- vitis
- azure
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.