Cargo Features
[dependencies]
hlocl = { version = "0.1.0", default-features = false, features = ["cl2", "async", "def", "rand", "error-stack", "serde"] }
- default = def
-
The
def
feature is set by default wheneverhlocl
is added without
somewhere in the dependency tree.default-features = false - cl2
-
Enables CL_VERSION_2_0 of opencl-sys ^0.2.1
Affects
hlocl::svm
… - async = future-parking_lot, futures
-
Enables futures of optional error-stack ^0.1.0
Affects
event::Event
… - def default
-
Affects
math::MathCL.default_vec_manager
… - rand
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.
- error-stack implicit feature
-
Enables error-stack ^0.1.0
error-stack:
A context-aware error-handling library that supports arbitrary attached user data
Affects
error::ErrorCL
… - future-parking_lot async?
- futures async?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework