Registry / utility / str-macro

str-macro

JSON →
library1.0.1rscratesunverified

The str!() macro, similar to vec![] but for strings

# Cargo.toml [dependencies] str-macro = "1.0.1"
INSTALL
IMPORT
SIG · STR-MACRO
S
str-macro
utilityrustv1.0.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.

str
use str_macro::str;

Creates a String from string literals.

use str_macro::str; fn main() { let s = str!["hello", " ", "world"]; println!("{}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
str-macro — cargo add str-macro · libregistry