Releases: thomcc/arcstr
Releases · thomcc/arcstr
v1.2.0
New features
- Support creating static
ArcStr
's at runtime (leaking them) in a newArcStr::leak
function. - Add a family of
init_with
methods to create an ArcStr using a callback.
And many smaller changes. See the full changelog for details: 1.1.5...v1.2.0.
v1.1.4
v1.1.3
This release is a patch release that adds a single new API: ArcStr::try_alloc(s: &str) -> Option<ArcStr>
1, which exists to allow copying a &str
into a new ArcStr
, failing (returning None
) if allocation fails for some reason.
-
This is a pretty niche use case, and the name is somewhat dodgy, but makes it very clear what the failure case was. ↩
v1.1.2 (pointless accidental mistake release)
This release has no changes from v1.1.1
because I'm a doofus. (The real changes are in v1.1.3
).
(It's not yanked/worth yanking because the mistake was just that I cut the release without pulling the right stuff...)