All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
2.0.2 - 2024-07-25
2.0.1 - 2024-07-22
- MSRV is now 1.73
- Future-proof unsafe code from things the compiler could do
2.0.0 - 2022-03-29
Note: while we intended to be "forever 1.0" to be safe to use in public APIs, we checked our current users and it seemed safe enough to bump major to get the benefits from some breaking changes.
KString
is now a type alias toKStringBase<...>
(where...
depends on feature flags)serde
is no longer a default featurestd
andunsafe
are now default features- MSRV is now 1.59
- Expose
StackString
KString::try_inline
to exclusively useStackString
const fn
ed some functions- Opt-in
forbid(unsafe_code)
by removing the defaultunsafe
feature - Allow configuring the heap string type outside of feature flags
- Add
#[must_use]
everywhere
- Remove some extra bounds checks
- Speed up
clone
1.1.0 - 2022-03-28
1.0.6 - 2021-11-05
- Add
FromStr
1.0.5 - 2021-09-24
- Add
max_inline
feature which is slower for smaller strings but faster for intermediate-length strings - Added
arc
feature which is slower for smaller strings but, presumably, faster for large-enough strings
- Ensure the size of KString matches String on 32-bit systems
1.0.4 - 2021-07-09
- Add missing
impl From<&String> for KString
1.0.3 - 2021-07-08
- Sped up
KString::clone()
1.0.2 - 2021-07-06
serde
support is now optional (still on by default)
- Sped up
KString::from_string
/KStringCow::from_string