concat-strs-derive

Crates.ioconcat-strs-derive
lib.rsconcat-strs-derive
version0.1.20241101
sourcesrc
created_at2024-09-16 11:29:38.455558
updated_at2024-11-01 04:16:14.585158
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
size41,261
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: 7

cargo fmt