62 releases (19 stable)

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

#3 in Authentication

Download history 22039/week @ 2023-12-23 31839/week @ 2023-12-30 53972/week @ 2024-01-06 62979/week @ 2024-01-13 60557/week @ 2024-01-20 70140/week @ 2024-01-27 77315/week @ 2024-02-03 64508/week @ 2024-02-10 79158/week @ 2024-02-17 82550/week @ 2024-02-24 82320/week @ 2024-03-02 92565/week @ 2024-03-09 94754/week @ 2024-03-16 89302/week @ 2024-03-23 87104/week @ 2024-03-30 82996/week @ 2024-04-06

369,277 downloads per month
Used in 181 crates (110 directly)

MIT/Apache

310KB
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.

Sponsorship

This project is sponsored by Unflakable, a service for tracking and quarantining flaky tests.

Dependencies

~6–22MB
~313K SLoC