#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

#2011 in Procedural macros

Download history 140/week @ 2024-07-19 119/week @ 2024-07-26 152/week @ 2024-08-02 183/week @ 2024-08-09 149/week @ 2024-08-16 156/week @ 2024-08-23 252/week @ 2024-08-30 151/week @ 2024-09-06 118/week @ 2024-09-13 183/week @ 2024-09-20 183/week @ 2024-09-27 174/week @ 2024-10-04 187/week @ 2024-10-11 264/week @ 2024-10-18 145/week @ 2024-10-25 190/week @ 2024-11-01

807 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

~225–650KB
~16K SLoC