Repository navigation
v1.1.0
Changelog:
- A live version using WebAssembly is now available on this web page.
- Fix
make_meal()missing some snacks if the implementation had to temporarily deviate from its target in order to reach it. - Fix
make_menu()using an unflipped inequality even though the snack's effect was negative. - Fix
Dye::EPSILONbeing wrongly calculated to 269 instead of 89. - Fix crate's MSRV being incorrectly set as 1.66 instead of 1.70.
Snack,DyeandLangenums are now#[repr(u8)].Rgbcan now be formatted as{:x}and{:X}.- Add
SnackList::sum(),SnackList::is_empty()andSnackList::kinds(). - The
menuexample now suggests using a Han Lemon if it will reduce the snack cost.
Cargo.toml:
[dependencies]
chocodye = "1.1.0"Documentation: https://docs.rs/chocodye/1.1.0/