Cargo Features
beryllium has no features set by default.
[dependencies]
beryllium = { version = "0.13.3", features = ["cargo_check", "vulkan"] }
- cargo_check
-
Enables cargo_check of fermium
fermium:
Enabling this will completely skip the build/link of SDL2 itself. This makes
cargo check
and similar much faster (including rust-analyzer), but you'll get linking errors if you try to actually build an executable with this enabled (eg: a bin/bench/test). - vulkan = raw_vulkan_handle
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.