# Objective Make the following functions `const` that will be useful to define colors as constants. - `Color::srgb_from_array` - `Color::srgba_u8` - `Color::srgb_u8` The last two require Rust 1.82.0. ## Solution - Make them `const` - Change MSRV to 1.82.0 ## Testing I tested bevy_color only. My machine does not have enough RAM capacity to test the whole bevy. `cargo test -p bevy_color` |
||
|---|---|---|
| .. | ||
| crates/gen_tests | ||
| docs | ||
| src | ||
| Cargo.toml | ||
| README.md | ||