Crate features / rgb
Feature flags · rgb 0.8.53 · from crates.io 2026-10-24
rgb features: what each one does, and the line to copy
Short answerrgb 0.8.53 has 8 features. By default it turns on as-bytes, argb, grb; add default-features = false to start from nothing. It needs Rust 1.64 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
argb | yes | nothing else (a switch the code checks) |
as-bytes | yes | bytemuck |
bytemuck | dep:bytemuck | |
checked_fns | nothing else (a switch the code checks) | |
defmt-03 | dep:defmt | |
grb | yes | nothing else (a switch the code checks) |
serde | dep:serde | |
unstable-experimental | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version rgb declares (rust-version), and the release that changed it:
- 0.8.48 (2024-08-07): Rust 1.63
- 0.8.91-alpha.3 (2025-07-04): Rust 1.64
- 0.8.92-beta.1 (2026-02-07): Rust 1.85
- 0.8.53 (2026-02-25): Rust 1.64
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rgb --precise <version>, or use resolver 3, which picks compatible versions for you.
More on rgb
Real downloads, dependents and alternatives: rgb crate data (392.9K real downloads a day, 349 dependents).
Security record: rgb advisories.
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itrgb crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?