Registry / utility / const-str

const-str

JSON →
library1.1.0rscratesunverified

Compile-time string operations for Rust, enabling string manipulation at compile time.

# Cargo.toml [dependencies] const-str = "1.1.0"
INSTALL
IMPORT
SIG · CONST-STR
C
const-str
utilityrustv1.1.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.

concat
use const_str::concat;

Concatenates two string literals at compile time.

use const_str::concat; const HELLO: &str = concat!("Hello, ", "world!"); fn main() { println!("{}", HELLO); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
const-str — cargo add const-str · libregistry