Skip to content

Releases: sunsided/merge-whitespace-rs

1.1.0

02 Dec 17:27
5f525dd
Compare
Choose a tag to compare

To add merge-whitespace/1.1.0 to your project, run

cargo add merge-whitespace --version 1.1.0

To install the latest version, run

cargo add merge-whitespace

Changes

Added

  • Added the merge-whitespace-utils crate to expose the merge_whitespace and merge_whitespace_with_quotes functions for operating on strings rather than string literals. These functions return Cow<str> to avoid allocations when no transformation happened.

Internal

  • Updated dependencies to latest patch releases.
  • Added fuzz testing to ensure panic-safe implementation.

In other notes

Full Changelog: v1.0.0...v1.1.0

v1.0.0

03 Jun 13:25
b45e8eb
Compare
Choose a tag to compare

To add merge-whitespace/1.0.0 to your project, run

cargo add merge-whitespace --version 1.0.0

To install the latest version, run

cargo add merge-whitespace

Changes

Added

  • Added support for quote_char and escape_char arguments to have optional quotation and escaping support.

Internal

  • The crate is now explicitly labeled as #![forbid(unsafe_code)].

In other notes

  • Add quotation mark and escaping support by @sunsided in #3

Full Changelog: v0.1.0...v1.0.0

v0.1.0

14 May 11:59
fe0cc29
Compare
Choose a tag to compare

To add merge-whitespace/0.1.0 to your project, run

cargo add merge-whitespace --version 0.1.0

To install the latest version, run

cargo add merge-whitespace

What's Changed

New Contributors

Full Changelog: https://github.com/sunsided/merge-whitespace-rs/commits/v0.1.0