#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

#1685 in Procedural macros

Download history 149/week @ 2023-12-18 328/week @ 2023-12-25 94/week @ 2024-01-01 261/week @ 2024-01-08 216/week @ 2024-01-15 361/week @ 2024-01-22 154/week @ 2024-01-29 103/week @ 2024-02-05 140/week @ 2024-02-12 148/week @ 2024-02-19 206/week @ 2024-02-26 401/week @ 2024-03-04 165/week @ 2024-03-11 209/week @ 2024-03-18 175/week @ 2024-03-25 274/week @ 2024-04-01

833 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

~325–760KB
~18K SLoC