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 83480/week @ 2024-07-31 85881/week @ 2024-08-07 81049/week @ 2024-08-14 84083/week @ 2024-08-21 82363/week @ 2024-08-28 92709/week @ 2024-09-04 88485/week @ 2024-09-11 87637/week @ 2024-09-18 104296/week @ 2024-09-25 100709/week @ 2024-10-02 98566/week @ 2024-10-09 106743/week @ 2024-10-16 110981/week @ 2024-10-23 101298/week @ 2024-10-30 103581/week @ 2024-11-06 86658/week @ 2024-11-13

423,226 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
~264K SLoC