Registry / utility / string

string

JSON →
library0.3.1rscratesunverified

A UTF-8 encoded string with configurable byte storage.

# Cargo.toml [dependencies] string = "0.3.1"
INSTALL
IMPORT
SIG · STRING
S
string
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.

String
use string::String;

Create a fixed-capacity string with a 32-byte backing store.

use string::String; fn main() { let s: String<[u8; 32]> = String::from("hello"); println!("{}", s); }
Debug
Known issues
gotchaThis crate shadows the standard library String; may cause confusion.
fix
Use a use alias or fully qualified path to avoid ambiguity with std::String.
affects: >=0.3.0
Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
string — cargo add string · libregistry