Cargo Features
[dependencies]
usls = { version = "0.1.0-beta.1", default-features = false, features = ["ort-download-binaries", "ort-load-dynamic", "cuda", "trt", "mps", "video"] }
- 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 - 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
- trt
- mps
- video
-
Enables video-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.