Cargo Features
[dependencies]
coaster-nn = { version = "0.5.0", default-features = false, features = ["native", "cuda", "opencl", "unstable"] }
- default = cuda, native
-
These default features are set whenever
coaster-nn
is added without
somewhere in the dependency tree.default-features = false - native default = rand, rand_chacha
-
Affects
frameworks::native
… - cuda default = libc, rand_chacha, rcudnn, thiserror
-
Affects
frameworks::cuda
… - opencl
- unstable
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.