#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

#2197 in Procedural macros

Download history 141/week @ 2024-11-13 159/week @ 2024-11-20 216/week @ 2024-11-27 140/week @ 2024-12-04 148/week @ 2024-12-11 86/week @ 2024-12-18 17/week @ 2024-12-25 169/week @ 2025-01-01 142/week @ 2025-01-08 492/week @ 2025-01-15 98/week @ 2025-01-22 229/week @ 2025-01-29 360/week @ 2025-02-05 117/week @ 2025-02-12 122/week @ 2025-02-19 268/week @ 2025-02-26

889 downloads per month
Used in 15 crates (8 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

~205–630KB
~15K SLoC