2 releases

0.1.11 Apr 21, 2020
0.1.10 Apr 21, 2020

#980 in Text processing

Download history 1708/week @ 2023-11-23 1544/week @ 2023-11-30 1567/week @ 2023-12-07 1309/week @ 2023-12-14 622/week @ 2023-12-21 442/week @ 2023-12-28 969/week @ 2024-01-04 1181/week @ 2024-01-11 1722/week @ 2024-01-18 1405/week @ 2024-01-25 951/week @ 2024-02-01 1902/week @ 2024-02-08 2427/week @ 2024-02-15 1631/week @ 2024-02-22 1182/week @ 2024-02-29 709/week @ 2024-03-07

6,774 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