Decision Workspace
diesel-connection vs diesel-guard vs pgtrgm
Side-by-side comparison of Rust crates
46
diesel-connection
growingv4.1.0
Static diesel r2d2 connection pooling.
57
diesel-guard
experimentalv0.9.0
Linter for dangerous Postgres migration patterns in Diesel and SQLx. Prevents downtime caused by unsafe schema changes.
54
pgtrgm
experimentalv0.4.0
PostgreSQL pg_trgm extension support for Diesel
Core Metrics
| diesel-connection | diesel-guard | pgtrgm | |
|---|---|---|---|
| Health Score | 46 | 57 | 54 |
| Total Downloads | 21.7K | 7.7K | 251 |
| 30d Downloads | 48 | 5.4K | 49 |
| Dependents | 0 | 0 | 0 |
| Releases | 15 | 11 | 4 |
| Last Updated | 737d ago | 6d ago | 76d ago |
| Age | 4y 10m | 3m | 2m |
Health Breakdown
diesel-connection
Maintenance
6
Quality
22
Community
3
Popularity
5
Documentation
10
diesel-guard
Maintenance
22
Quality
11
Community
6
Popularity
5
Documentation
13
pgtrgm
Maintenance
15
Quality
16
Community
5
Popularity
3
Documentation
15
Technical Details
| diesel-connection | diesel-guard | pgtrgm | |
|---|---|---|---|
| Version | 4.1.0 | 0.9.0 | 0.4.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 6 | 14 | 1 |
| Crate Size | 3KB | 337KB | 11KB |
| Features | 5 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •diesel-guard leads with a health score of 57/100, but none of the options score above 80.
- •diesel-connection has the most downloads (21.7K), suggesting wider adoption.
- •⚠ diesel-connection has not been updated in over a year.
- •diesel-guard, pgtrgm are pre-1.0 — API may change.