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 default-features = false somewhere in the dependency tree.

native default = rand, rand_chacha

Enables native of coaster

Affects frameworks::native

cuda default = libc, rand_chacha, rcudnn, thiserror

Enables cuda of coaster

Affects frameworks::cuda

opencl

Enables opencl of coaster

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.

rcudnn cuda
libc cuda
rand native

Enables rand ^0.8

rand_chacha cuda native

Enables rand_chacha ^0.3.0

thiserror cuda

Enables thiserror ^1.0