MCPcopy Index your code
hub / github.com/carllerche/string

github.com/carllerche/string @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
22 symbols 25 edges 1 files 8 documented · 36% 17 cross-repo links updated 22mo ago★ 366 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

String

A UTF-8 encoded string with configurable byte storage.

Build Status License: MIT Crates.io Documentation

Usage

To use string, first add this to your Cargo.toml:

[dependencies]
string = "0.3.0"

Next, add this to your crate:

extern crate string;

use string::{String, TryFrom};

let s: String<[u8; 2]> = String::try_from([b'h', b'i']).unwrap();
assert_eq!(&s[..], "hi");

See documentation for more details.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 15
Function 3
Interface 3
Class 1

Languages

Rust100%

Modules by API surface

src/lib.rs22 symbols

For agents

$ claude mcp add string \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page