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

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

#1353 in Procedural macros

33 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

~4.5–7MB
~121K SLoC