Registry / utility / smallstr

smallstr

JSON →
library0.3.1rscratesunverified

A string-like container optimized for small strings using a small vector.

# Cargo.toml [dependencies] smallstr = "0.3.1"
INSTALL
IMPORT
SIG · SMALLSTR
S
smallstr
utilityrustv0.3.1
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.

SmallString
use smallstr::SmallString;

Creating a SmallString from a string literal.

use smallstr::SmallString; fn main() { let s = SmallString::from("hello"); println!("{}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
smallstr — cargo add smallstr · libregistry