Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hadronized/proc-macro-faithful-display

A more faithful Display for proc-macro token types.
https://github.com/hadronized/proc-macro-faithful-display

Last synced: about 2 months ago
JSON representation

A more faithful Display for proc-macro token types.

Awesome Lists containing this project

README

        

# A more faithful [`Display`] implementation for [proc-macro] types

This crate provides a *faithful* implementation of display regarding the input token stream. That
is, the display formatted output will contain the same spaces and newlines as the input flow of
Rust tokens.

Feel free to browse the [documentation] for further details.

[`Display`]: https://doc.rust-lang.org/std/fmt/trait.Display.html
[proc-macro]: https://doc.rust-lang.org/stable/proc_macro
[documentation]: https://docs.rs/proc-macro-faithful-display