diff --git a/CHANGELOG.md b/CHANGELOG.md index cddf56a..48ea171 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.0.5 + +- Use `NonZero` in `unescape_c_str` and `check_raw_c_str` to statically exclude nuls +- Add `#[inline]` to small functions for improved performance + # 0.0.4 - Add `check_raw_str`, `check_raw_byte_str`, `check_raw_c_str`, diff --git a/Cargo.lock b/Cargo.lock index f8473de..932c064 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "rustc-literal-escaper" -version = "0.0.4" +version = "0.0.5" dependencies = [ "rustc-std-workspace-core", "rustc-std-workspace-std", diff --git a/Cargo.toml b/Cargo.toml index 481ecc3..5b4285e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc-literal-escaper" -version = "0.0.4" +version = "0.0.5" edition = "2021" description = "Provides code to unescape string literals" license = "Apache-2.0 OR MIT"