Cargo Features
[dependencies]
leaf = { version = "0.2.1", default-features = false, features = ["lint", "travis", "cuda", "dev", "opencl", "unstable", "native"] }
- default = native
-
The
native
feature is set by default wheneverleaf
is added without
somewhere in the dependency tree.default-features = false - lint = clippy
- travis = native
- cuda
-
Enables cuda of collenchyma, collenchyma-blas, and collenchyma-nn
Affects
common::convolution
,common::pooling
,util::LayerOps
… - dev
- opencl
-
Enables opencl of collenchyma, collenchyma-blas, and collenchyma-nn
- unstable
- native default travis?
-
Enables collenchyma-blas, native of collenchyma-nn
Affects
util::LayerOps
…
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.
- clippy lint?
-
Enables clippy ^0.0.41