arcstr
A better reference-counted string type, with zero-cost (allocation-free) support for string literals, and reference counted substrings.
1.2.0
22M downloads/mo
#1981 most downloaded on crates.io
thomcc/arcstr
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.5 years
Some releases are documented
notes for 5 of 13 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
13 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Aug 2020 to May 2024Releases
latest 13-
1.2.007 May 2024Release notes
Open source →New features
- Support creating static
ArcStr's at runtime (leaking them) in a newArcStr::leakfunction. - Add a family of
init_withmethods to create an ArcStr using a callback.
And many smaller changes. See the full changelog for details: 1.1.5...v1.2.0.
- Support creating static
-
1.1.512 Nov 2022Nothing published for this version
-
1.1.404 Jun 2022Release notes
Open source →This release is a bugfix release that only includes a change to ensure
arcstr::format!("foo {bar}")works as expected in newer versions of Rust. (#37). -
1.1.302 Jan 2022Release notes
Open source →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&strinto a newArcStr, failing (returningNone) 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. ↩
-
-
1.1.202 Jan 2022Release notes
Open source →This release has no changes from
v1.1.1because I'm a doofus. (The real changes are inv1.1.3).(It's not yanked/worth yanking because the mistake was just that I cut the release without pulling the right stuff...)
-
1.1.115 Aug 2021Nothing published for this version
-
1.1.022 Jul 2021Nothing published for this version
-
1.0.017 Feb 2021Nothing published for this version
-
0.2.306 Sep 2020 -
0.2.219 Aug 2020Nothing published for this version
-
0.2.116 Aug 2020Nothing published for this version
-
0.2.015 Aug 2020Nothing published for this version
-
0.1.014 Aug 2020Nothing published for this version