#path #syn #compile-time #macro #declare

syn-path

A simple macro to declare a syn::Path at compile time

3 stable releases

2.0.0 Mar 20, 2023
1.0.1 Oct 4, 2022
1.0.0 Apr 10, 2022

#1625 in Procedural macros

Download history 182/week @ 2024-03-13 195/week @ 2024-03-20 201/week @ 2024-03-27 242/week @ 2024-04-03 257/week @ 2024-04-10 158/week @ 2024-04-17 213/week @ 2024-04-24 179/week @ 2024-05-01 517/week @ 2024-05-08 144/week @ 2024-05-15 100/week @ 2024-05-22 146/week @ 2024-05-29 196/week @ 2024-06-05 138/week @ 2024-06-12 192/week @ 2024-06-19 115/week @ 2024-06-26

652 downloads per month
Used in 13 crates (7 directly)

0BSD license

5KB
61 lines

syn-path License: 0BSD syn-path on crates.io syn-path on docs.rs Source Code Repository

This crate contains the path! macro to turn a path into a syn::Path at compile time.


lib.rs:

This crate contains the path! macro to turn a path into a syn::Path at compile time.

Dependencies

~300–740KB
~18K SLoC