Skip to content

v4.0.0

Compare
Choose a tag to compare
@lopopolo lopopolo released this 14 Jun 03:01
7dea74a

Release boba 4.0.0.

boba is published on crates.io.

This release contains breaking changes and enhancements:

  • boba v4.0.0 removes all unsafe code and boba is now #![forbid(unsafe_code)]. 🎉
  • [BREAKING] Build with no_std if the std feature is not enabled. This fixes a bug in the std feature introduced in v3.0.0. v3.0.0 introduced an optional std feature. v3.0.0 claimed that boba would not build if it was deactivated, but did not enforce this behavior.
  • Do not activate bstr/std feature, even if boba/std is enabled.
  • Improve correctness and error handling in boba::decode:
    • Enforce that - separators appear where they are expected.
    • [BREAKING] Return more specific errors when a consonant appears where a vowel is expected.
    • [BREAKING] Return more specific errors when a vowel appears where a consonant is expected.

This release contains improvements to documentation and build process.