more-syn-types

Crates.iomore-syn-types
lib.rsmore-syn-types
version0.1.0
sourcesrc
created_at2023-10-13 15:24:45.941105
updated_at2023-10-13 15:24:45.941105
descriptionA library for parsing Rust Standard Library macros
homepage
repository
max_upload_size
id1002388
size35,437
Wyatt Herkamp (wyatt-herkamp)

documentation

README

more-syn-types

A collection of macros from the rust standard library. Allows you to parse them in your own code

Goals

  • Get As Close as possible to the Rust Standard Library when parsing the macros

  • Execute Macros such as include_str! and include_bytes! if you need to read it.

Use Cases

  • Need to read over a doc attribute to put into the macro generated code

Contributing

If you notice something is not parsing that is allowed in the Rust Standard Library, please create a PR.

Feel free to parse nightly macros as well.

Crate Features

  • 'quote' - Enables adding parsed macro into quote
  • 'executing' - Enables executing macros such as include_str! and include_bytes!
  • 'extra-traits' - Add Debug to parsed macros
Commit count: 0

cargo fmt