Skip to content

Releases: rust-lang/literal-escaper

v0.0.5

04 Jul 18:33
Compare
Choose a tag to compare

Release notes

  • Use NonZero<char/u8> in unescape_c_str and check_raw_c_str to statically exclude nuls
  • Add #[inline] to small functions for improved performance

v0.0.4

14 Jun 13:04
Compare
Choose a tag to compare

Release notes

  • Add check_raw_str, check_raw_byte_str, check_raw_c_str,
  • Add unescape_str, unescape_byte_str, unescape_c_str,
  • Add check_for_errors,
  • Remove unescape_unicode and unescape_mixed

v0.0.3

04 Jun 18:45
Compare
Choose a tag to compare

Release notes

  • Extend rustc-dep-of-std feature to include libcore

v0.0.2

04 Apr 16:27
Compare
Choose a tag to compare

Release notes

  • Add new rustc-dep-of-std feature to allow building libproc-macro

v0.0.1

03 Apr 20:23
Compare
Choose a tag to compare

This is the first release of this crate: rustc-literal-escaper version 0.0.1, extracted from rustc (82eb03ec6).

Release notes

  • Add EscapeError, MixedUnit and Mode enums
  • Add byte_from_char, unescape_byte, unescape_char, unescape_mixed and unescape_unicode functions