2 stable releases

1.0.1 Jun 4, 2020

#128 in #quickly

Download history 4/week @ 2023-12-22 1/week @ 2023-12-29 10/week @ 2024-01-12 3/week @ 2024-01-19 21/week @ 2024-02-16 40/week @ 2024-02-23 17/week @ 2024-03-01 21/week @ 2024-03-08 11/week @ 2024-03-15 21/week @ 2024-03-22 40/week @ 2024-03-29 17/week @ 2024-04-05

91 downloads per month
Used in concat_strs

AGPL-3.0

6KB
126 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.


lib.rs:

Implementation crate for concat_strs, needed for proc_macro_hack

Dependencies

~1.5MB
~33K SLoC