concat-strs-derive

Crates.ioconcat-strs-derive
lib.rsconcat-strs-derive
version0.1.20250512
created_at2024-09-16 11:29:38.455558+00
updated_at2025-05-12 06:52:16.700583+00
descriptionForked from Rebecca Turner 's "https://github.com/9999years/concat_strs". No more proc-macro-hack = "0.5", and updated to-date (20240916)
homepage
repositoryhttps://github.com/raul-gherman/concat_strs
max_upload_size
id1376245
size42,245
Raul Gherman (raul-gherman)

documentation

README

concat_strs

docs.rs crates.io license: AGPL-3.0 github.com/9999years/concat_strs

Provides the concat_strs! macro, which allows quickly building a String from a number of components.

Example usage:

use concat_strs::concat_strs;

assert_eq!(
    "foo_bar_3.0",
    concat_strs!(
        "foo",
        '_',
        "bar",
        '_',
        3.0,
    )
);

This is the fastest way to build a string from components.

Commit count: 0

cargo fmt