Cargo Features
Raylib has no features set by default.
[dependencies]
raylib = { version = "3.7.0", features = ["nightly", "nobuild", "with_serde", "nalgebra_interop"] }
- nightly
- nobuild
-
Enables nobuild of raylib-sys
raylib-sys:
Build Raylib headless for docs. Up to you to link
- with_serde = serde, serde_json
- nalgebra_interop = nalgebra
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.