mini_paste

Crates.iomini_paste
lib.rsmini_paste
version0.1.11
sourcesrc
created_at2020-04-21 12:52:59.328326
updated_at2020-04-21 12:54:55.148592
descriptionFast-to-compile equivalent to `::paste`
homepagehttps://crates.io/crates/mini_paste
repositoryhttps://github.com/danielhenrymantilla/mini_paste
max_upload_size
id232547
size5,094
Daniel Henry-Mantilla (danielhenrymantilla)

documentation

https://docs.rs/mini_paste

README

::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.

Commit count: 5

cargo fmt