Decision Workspace
oauth-lib vs oauth-as vs oauth-provider-rs
Side-by-side comparison of Rust crates
51
oauth-lib
growingv2.0.0
Asynchronous Rust library to deal with OAuth flows
54
oauth-as
experimentalv1.0.0
An embeddable OAuth 2.1 Authorization Server library: spec-mirroring types (RFC 6749, RFC 8628, RFC 7636), a full device-authorization-grant state machine, and a storage trait the host implements. Deliberately host-agnostic with a tiny dependency set; nothing is allocated until the host constructs an AuthorizationServer, so an embedding host pays zero memory until its config enables the feature.
50
oauth-provider-rs
growingv0.1.0-alpha.7
A Rust implementation of an OAuth 2.0 provider with DynamoDB storage support
Core Metrics
| oauth-lib | oauth-as | oauth-provider-rs | |
|---|---|---|---|
| Health Score | 51 | 54 | 50 |
| Total Downloads | 60.1K | 20.2K | 2.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 51 | 2 | 7 |
| Releases | 4 | 12 | 6 |
| Last Updated | 669d ago | 16d ago | 455d ago |
| Age | 3y 1m | 2m | 1y 3m |
Health Breakdown
oauth-lib
Maintenance
7
Quality
14
Community
11
Popularity
6
Documentation
13
oauth-as
Maintenance
12
Quality
15
Community
7
Popularity
5
Documentation
15
oauth-provider-rs
Maintenance
13
Quality
12
Community
8
Popularity
4
Documentation
13
Technical Details
| oauth-lib | oauth-as | oauth-provider-rs | |
|---|---|---|---|
| Version | 2.0.0 | 1.0.0 | 0.1.0-alpha.7 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 9 | 25 | 26 |
| Crate Size | 24KB | 1.5MB | 107KB |
| Features | 6 | 20 | 2 |
| Yanked % | 50.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.75 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •oauth-as leads with a health score of 54/100, but none of the options score above 80.
- •oauth-lib has the most downloads (60.1K), suggesting wider adoption.
- •⚠ oauth-lib, oauth-provider-rs have not been updated in over a year.
- •oauth-provider-rs is pre-1.0 — API may change.