2 releases

0.1.11 Apr 21, 2020
0.1.10 Apr 21, 2020

#1090 in Text processing

Download history 1078/week @ 2024-04-15 1175/week @ 2024-04-22 1088/week @ 2024-04-29 785/week @ 2024-05-06 1044/week @ 2024-05-13 1007/week @ 2024-05-20 954/week @ 2024-05-27 944/week @ 2024-06-03 850/week @ 2024-06-10 778/week @ 2024-06-17 1104/week @ 2024-06-24 1042/week @ 2024-07-01 844/week @ 2024-07-08 658/week @ 2024-07-15 862/week @ 2024-07-22 967/week @ 2024-07-29

3,338 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