2 releases

0.1.11 Apr 21, 2020
0.1.10 Apr 21, 2020

#1046 in Text processing

Download history 1007/week @ 2024-01-06 1274/week @ 2024-01-13 1679/week @ 2024-01-20 1257/week @ 2024-01-27 957/week @ 2024-02-03 2474/week @ 2024-02-10 2005/week @ 2024-02-17 1477/week @ 2024-02-24 1257/week @ 2024-03-02 1336/week @ 2024-03-09 1040/week @ 2024-03-16 982/week @ 2024-03-23 956/week @ 2024-03-30 1044/week @ 2024-04-06 1066/week @ 2024-04-13 1163/week @ 2024-04-20

4,340 downloads per month

Zlib license

5KB
51 lines

::mini_paste

Like ::paste (MIT / Apache licensed), but without any dependency on ::syn nor ::quote, for (significantly) fast(er) compile-from-scratch times.

  • It does not, however, currently offer the fancier features of case conversion that ::paste does:

    When in doubt, do use ::paste instead.

    • Only use ::mini_paste when the compile-from-scratch time matters to you.

Seamlessly replacing ::paste with ::mini_paste

You can achieve that with the following line in your Cargo.toml:

[dependencies]
paste = { version = "0.1.0", package = "mini_paste" }

This will mock / shadow ::paste so that all the ::paste::item! and ::paste::expr! macro calls Just Work.

Dependencies