2 releases

0.1.11 Apr 21, 2020
0.1.10 Apr 21, 2020

#4 in #replacing

Download history 836/week @ 2024-07-21 943/week @ 2024-07-28 1121/week @ 2024-08-04 794/week @ 2024-08-11 905/week @ 2024-08-18 750/week @ 2024-08-25 1425/week @ 2024-09-01 1697/week @ 2024-09-08 1660/week @ 2024-09-15 1863/week @ 2024-09-22 743/week @ 2024-09-29 379/week @ 2024-10-06 169/week @ 2024-10-13 145/week @ 2024-10-20 289/week @ 2024-10-27 400/week @ 2024-11-03

1,016 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