bitflags
Run this command in a terminal, in your project"s directory:
cargo add bitflags
To add it manually, edit your project"s Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
bitflags = "2.8.0"
The bitflags library will be automatically available globally. Read the bitflags library documentation.
Back to the crate overview.