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 whenever phynexus is added without default-features = false somewhere in the dependency tree.

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.

js-sys wasm32 wasm?
wasm-bindgen wasm32 wasm?
web-sys wasm32 wasm?