Cargo Features
[dependencies]
memonitor = { version = "0.2.4", default-features = false, features = ["vulkan", "cuda"] }
- default = cuda, vulkan
-
These default features are set whenever
memonitor
is added without
somewhere in the dependency tree.default-features = false - vulkan default
-
Enables vulkan of memonitor-sys
Affects
memonitor::VULKAN_NAME
… - cuda default
-
Enables cuda of memonitor-sys
Affects
memonitor::CUDA_NAME
…