Cargo Features
[dependencies]
phynexus = { version = "1.0.1", default-features = false, features = ["cpu", "tpu", "python", "wasm"] }
- default = cpu
-
The
cpu
feature is set by default wheneverphynexus
is added without
somewhere in the dependency tree.default-features = false - cpu default
- cuda rocm webgpu tpu
- python
-
Enables pyo3 ^0.18
- wasm = js-sys, wasm-bindgen, web-sys
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.