Registry / utility / constcat

constcat

JSON →
library0.6.1rscratesunverified

concat! with support for const variables and expressions.

# Cargo.toml [dependencies] constcat = "0.6.1"
INSTALL
IMPORT
SIG · CONSTCAT
C
constcat
utilityrustv0.6.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.

concat
✓ use constcat::concat;

Concatenate constant strings at compile time.

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

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Google (search)
1
Resources
constcat — cargo add constcat · libregistry