Decision Workspace
actix-web-middleware-cognito vs actix-web-helmet vs actix-guard-rs
Side-by-side comparison of Rust crates
37
actix-web-middleware-cognito
growingv0.3.0
Middleware for actix-web that helps you validate Cognito tokens
52
actix-web-helmet
stablev1.0.2
HTTP security headers middleware for actix-web
51
actix-guard-rs
experimentalv1.5.0
Application-layer security middleware for actix-web, powered by the guard-core-rs engine. Part of the guard ecosystem.
Core Metrics
| actix-web-middleware-cognito | actix-web-helmet | actix-guard-rs | |
|---|---|---|---|
| Health Score | 37 | 52 | 51 |
| Total Downloads | 8.5K | 4.0K | 101 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 6 | 7 |
| Last Updated | 1736d ago | 69d ago | 1d ago |
| Age | 6y 2m | 1y 6m | 5m |
Health Breakdown
actix-web-middleware-cognito
Maintenance
4
Quality
13
Community
6
Popularity
5
Documentation
9
actix-web-helmet
Maintenance
14
Quality
18
Community
6
Popularity
4
Documentation
10
actix-guard-rs
Maintenance
19
Quality
13
Community
5
Popularity
2
Documentation
12
Technical Details
| actix-web-middleware-cognito | actix-web-helmet | actix-guard-rs | |
|---|---|---|---|
| Version | 0.3.0 | 1.0.2 | 1.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 10 | 3 | 8 |
| Crate Size | 21KB | 12KB | 141KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | 1.92 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •actix-web-helmet leads with a health score of 52/100, but none of the options score above 80.
- •actix-web-middleware-cognito has the most downloads (8.5K), suggesting wider adoption.
- •⚠ actix-web-middleware-cognito has not been updated in over a year.
- •actix-web-middleware-cognito is pre-1.0 — API may change.