Cargo Features
[dependencies]
lucky_commit = { version = "2.2.3", default-features = false, features = ["opencl"] }
- default = opencl
-
The
opencl
feature is set by default wheneverlucky_commit
is added without
somewhere in the dependency tree.default-features = false - opencl default = ocl
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.