Cargo Features
[dependencies]
libdrm_amdgpu_sys = { version = "0.7.5", default-features = false, features = ["std", "buildtime_bindgen", "link-drm"] }
- default = link-drm, std
-
These default features are set whenever
libdrm_amdgpu_sys
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
gpu_info::GPU_INFO.find_device_name
,gpu_info::GPU_INFO.find_device_name_or_default
,gpu_info::GPU_INFO.parse_amdgpu_ids
,gpu_info::GPU_INFO.parse_amdgpu_ids_or_default
,gpu_info::find_device_name
,amdgpu::get_all_amdgpu_pci_bus
,vbios::VbiosInfo
,drm_version::drmVersion
… - buildtime_bindgen = bindgen, pkg-config
- link-drm default
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 buildtime_bindgen?
-
Enables bindgen ^0.69
- pkg-config build buildtime_bindgen?