63 releases (19 stable)

5.0.0-rc.1 Sep 16, 2024
5.0.0-alpha.4 Apr 12, 2024
5.0.0-alpha.3 Mar 21, 2024
4.4.2 Sep 8, 2023
0.1.1 Dec 16, 2014

#2 in Authentication

Download history 80701/week @ 2024-08-02 85588/week @ 2024-08-09 81319/week @ 2024-08-16 89572/week @ 2024-08-23 81409/week @ 2024-08-30 90089/week @ 2024-09-06 83102/week @ 2024-09-13 98895/week @ 2024-09-20 102924/week @ 2024-09-27 101232/week @ 2024-10-04 100782/week @ 2024-10-11 108201/week @ 2024-10-18 107685/week @ 2024-10-25 102143/week @ 2024-11-01 104861/week @ 2024-11-08 74162/week @ 2024-11-15

409,200 downloads per month
Used in 246 crates (140 directly)

MIT/Apache

315KB
6.5K SLoC

OAuth2

Build Status

An extensible, strongly-typed implementation of OAuth2 (RFC 6749).

Documentation is available on docs.rs. Release notes are available on GitHub.

For authentication (e.g., single sign-on or social login) purposes, consider using the openidconnect crate, which is built on top of this one.

Minimum Supported Rust Version (MSRV)

The MSRV for 5.0 and newer releases of this crate is Rust 1.65.

The MSRV for 4.x releases of this crate is Rust 1.45.

Beginning with the 5.0.0 release, this crate will maintain a policy of supporting Rust releases going back at least 6 months. Changes that break compatibility with Rust releases older than 6 months will no longer be considered SemVer breaking changes and will not result in a new major version number for this crate. MSRV changes will coincide with minor version updates and will not happen in patch releases.

Dependencies

~6–19MB
~265K SLoC