Cargo Features
[dependencies]
surya = { version = "0.4.0", default-features = false, features = ["metal", "accelerate", "mkl", "cli"] }
- default = cli
-
The
cli
feature is set by default wheneversurya
is added without
somewhere in the dependency tree.default-features = false - metal
-
Enables metal of candle-core ^0.3.2 and candle-nn ^0.3.2
- accelerate = accelerate-src
-
Enables accelerate of candle-core ^0.3.2 and candle-nn ^0.3.2
- mkl = intel-mkl-src
-
Enables mkl of candle-core ^0.3.2 and candle-nn ^0.3.2
- cli default = anyhow, clap
-
Required by the binary
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.