arcstr

Better reference counted strings for Rust

APACHE-2.0 License

Downloads
3.4M
Stars
114
Committers
5
arcstr - v1.2.0 Latest Release

Published by thomcc 6 months ago

New features

And many smaller changes. See the full changelog for details: https://github.com/thomcc/arcstr/compare/1.1.5...v1.2.0.

arcstr - v1.1.4

Published by thomcc over 2 years ago

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).

arcstr - v1.1.3

Published by thomcc almost 3 years ago

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.

[^1]: This is a pretty niche use case, and the name is somewhat dodgy, but makes it very clear what the failure case was.

arcstr - v1.1.2 (pointless accidental mistake release)

Published by thomcc almost 3 years ago

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...)