#scope #oauth2 #enums #generate #google #macro #proc

macro tlns-google-oauth2-proc

A half-assed procedural macro that generates Scope enums and trait that converting the scopes back and fourth

4 releases

0.2.1 Jul 4, 2024
0.2.0 Jul 1, 2024
0.1.1 Jul 1, 2024
0.1.0 Jun 30, 2024

#1166 in Procedural macros

Download history 17/week @ 2024-09-16 31/week @ 2024-09-23 57/week @ 2024-09-30 26/week @ 2024-10-07 1/week @ 2024-10-14 27/week @ 2024-10-21 9/week @ 2024-10-28 37/week @ 2024-11-04 10/week @ 2024-11-11

83 downloads per month
Used in tlns-google-oauth2

MIT license

12KB
238 lines

tlns-google-oauth2-proc

This crate contains generate_scopes_enums!() that will generate a bunch of enum scopes with full scope conversion. This is intended to be used in tlns-google-oauth2 but you can make changes to it.

Dependencies

~5–7MB
~122K SLoC