Registry / utility / smol-str

smol-str

JSON →
library0.3.6rscratesunverified

Small-string optimized string type with O(1) clone for Rust.

# Cargo.toml [dependencies] smol_str = "0.3.6"
INSTALL
IMPORT
SIG · SMOL-STR
S
smol-str
utilityrustv0.3.6
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.

SmolStr
use smol_str::SmolStr;

Create and print a SmolStr.

use smol_str::SmolStr; fn main() { let s: SmolStr = "hello".into(); println!("{}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
smol-str — cargo add smol-str · libregistry