Cargo Features

[dependencies]
cuda11-cuda-sys = { version = "0.2.0", default-features = false, features = ["generate"] }
default = generate

The generate feature is set by default whenever cuda11-cuda-sys is added without default-features = false somewhere in the dependency tree.

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