Keats / jsonwebtoken

JWT lib in rust
MIT License
1.69k stars 271 forks source link

Makes Algorithm traits available for library clients #168

Closed rlcintra closed 3 years ago

rlcintra commented 3 years ago

The FromStr implementation for Algorithm is useful when clients of the library are dealing with keys not provided at compile time (e.g. keys retrieved from OIDC). Making the algorithm module public exposes the FromStr and the Display traits for clients. This change is backward compatible.

rlcintra commented 3 years ago

Apologies, the traits are already available without needing to make the algorithms module public.