Registry / utility / arcstr

arcstr

JSON →
library1.2.0rscratesunverified

A better reference-counted string type with zero-cost support for string literals and substrings.

# Cargo.toml [dependencies] arcstr = "1.2.0"
INSTALL
IMPORT
SIG · ARCSTR
A
arcstr
utilityrustv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ArcStr
use arcstr::ArcStr;

Creates an ArcStr from a string literal and takes a substring.

use arcstr::ArcStr; let s: ArcStr = "hello".into(); let sub = s.slice(1..4); println!("{}", sub);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
2
Resources
arcstr — cargo add arcstr · libregistry