#oauth2 #proc #google-oauth #enums #scope #fourth

macro tlns-google-oauth2-proc

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

7 releases

new 0.2.4 May 7, 2025
0.2.3 May 4, 2025
0.2.1 Jul 4, 2024
0.1.1 Jul 1, 2024
0.1.0 Jun 30, 2024

#7 in #google-oauth

Download history 9/week @ 2025-01-21 3/week @ 2025-02-04 4/week @ 2025-02-11 5/week @ 2025-02-18 16/week @ 2025-02-25 5/week @ 2025-03-04 12/week @ 2025-03-18 3/week @ 2025-03-25 22/week @ 2025-04-08 10/week @ 2025-04-15 1/week @ 2025-04-22 269/week @ 2025-04-29

302 downloads per month
Used in tlns-google-oauth2

MIT license

16KB
249 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
~120K SLoC