Skip to content

Releases

0.6.0

Choose a tag to compare

@iksuddle iksuddle released this 16 Sep 02:34
  • ParserUnits::add_unit() now returns Result<(), Error> and validates unit names
  • added Error::InvalidUnit and Error::DurationOverflow
  • added support for Unicode whitespace
  • updated docs
  • added more tests

0.5.1

Choose a tag to compare

@iksuddle iksuddle released this 15 Mar 10:38
  • updated docs

0.5.0

Choose a tag to compare

@iksuddle iksuddle released this 15 Mar 10:33
  • added builder for ParserOptions, fields made private
  • ParserUnits::add_unit() now accepts impl Into<String>
  • added Error::Overflow for large integers

0.4.0

Choose a tag to compare

@iksuddle iksuddle released this 27 Aug 00:14
  • added support for custom units using ParserUnits

0.3.0

Choose a tag to compare

@iksuddle iksuddle released this 18 Aug 21:18
  • added Parser and ParserOptions for more control over parsing behavior
  • added case-insensitivity option
  • added more tests

0.2.0

Choose a tag to compare

@iksuddle iksuddle released this 17 Aug 16:32
  • switched to using string slices for unit tokens
  • added plural variations for units (e.g. hrs)

0.1.0

Choose a tag to compare

@iksuddle iksuddle released this 14 Aug 17:00

Initial Release