Skip to content

v1.1.0

Choose a tag to compare

@ShE3py ShE3py released this 29 Sep 16:47
· 50 commits to master since this release
30caae6

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::EPSILON being wrongly calculated to 269 instead of 89.
  • Fix crate's MSRV being incorrectly set as 1.66 instead of 1.70.
  • Snack, Dye and Lang enums are now #[repr(u8)].
  • Rgb can now be formatted as {:x} and {:X}.
  • Add SnackList::sum(), SnackList::is_empty() and SnackList::kinds().
  • The menu example 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/