Releases: ShE3py/chocodye
Releases · ShE3py/chocodye
v.1.1.2
Changelog:
- Improve website accessibility and overall look.
- Add Japanese translation.
- Replaced typewriter apostrophes (
'
) with typographic apostrophes (’
). - Added colored boxes to
Dye
’s variants docs.
Cargo.toml:
[dependencies]
chocodye = "1.1.2"
Documentation: https://docs.rs/chocodye/1.1.2/
v1.1.1
Changelog:
- Added
#[inline]
and#[must_use]
to most functions. - Code relint & refactor.
Cargo.toml:
[dependencies]
chocodye = "1.1.1"
Documentation: https://docs.rs/chocodye/1.1.1/
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::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
andLang
enums are now#[repr(u8)]
.Rgb
can now be formatted as{:x}
and{:X}
.- Add
SnackList::sum()
,SnackList::is_empty()
andSnackList::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/
v1.0.2
Changelog:
- Fix swapped translation between French and German.
- Reduce the time complexity of
<SnackList as From<&[Snack]>>
. - Implement truecolor example's
get_term_width()
on Windows. - Update
README.md
to recommend setting theCOLORTERM
environment variable on Windows.
Cargo.toml:
[dependencies]
chocodye = "1.0.2"
Documentation: https://docs.rs/chocodye/1.0.2/
v1.0.1
Changelog:
- Fix
doc_cfg
not showing in the generated documentation. - Hide
chocodye::fluent::__format_message()
pub re-export from the documentation, since it's an internal function. - Add hyperlinks to all
README.md
badges. - Fully qualify paths in the
message!()
macro.
Cargo.toml:
[dependencies]
chocodye = "1.0.1"
Documentation: https://docs.rs/chocodye/1.0.1/
v1.0.0
Initial release.
Cargo.toml:
[dependencies]
chocodye = "1.0.0"
Documentation: https://docs.rs/chocodye/1.0.0/