Cargo Features
[dependencies]
cuda11-cudart-sys = { version = "0.3.0", default-features = false, features = ["generate"] }
- default = generate
-
The
generate
feature is set by default whenevercuda11-cudart-sys
is added without
somewhere in the dependency tree.default-features = false - generate default = bindgen
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.
- bindgen build generate
-
Enables bindgen ^0.54