#proc-macro-hack #concat #github #building #forked #component #strs

macro concat-strs-derive

Forked from Rebecca Turner <rbt@sent.as> 's "https://github.com/9999years/concat_strs". No more proc-macro-hack = "0.5", and updated to-date (20240916)

15 releases

Uses new Rust 2024

new 0.1.20250315 Mar 15, 2025
0.1.20250112 Jan 12, 2025
0.1.20241203 Dec 3, 2024
0.1.20241121 Nov 21, 2024
0.1.20240924 Sep 24, 2024

#1615 in Procedural macros

Download history 210/week @ 2024-11-20 124/week @ 2024-11-27 92/week @ 2024-12-04 54/week @ 2024-12-11 18/week @ 2024-12-18 5/week @ 2024-12-25 168/week @ 2025-01-08 38/week @ 2025-01-15 14/week @ 2025-01-29 45/week @ 2025-02-05 17/week @ 2025-02-12 13/week @ 2025-02-19 22/week @ 2025-02-26 23/week @ 2025-03-05

78 downloads per month
Used in 3 crates

AGPL-3.0

15KB
123 lines

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.

Dependencies

~205–640KB
~15K SLoC