Cargo Features
[dependencies]
erupt = { version = "0.23.0+213", default-features = false, features = ["loading", "surface", "bytemuck"] }
- default = loading, surface
-
These default features are set whenever
erupt
is added without
somewhere in the dependency tree.default-features = false - loading default = libloading
-
Affects
utils::loading
… - surface default = raw-window-handle, raw-window-metal
-
Affects
utils::surface
…
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.
- libloading loading
-
Enables libloading ^0.7
- raw-window-handle surface
-
Enables raw-window-handle ^0.5
- bytemuck implicit feature
-
Enables bytemuck
bytemuck:
A crate for mucking around with piles of bytes
- raw-window-metal mac ios surface
-
Enables raw-window-metal ^0.3