Decision Workspace
uri_encode vs encodeurl vs rune-url-encode
Side-by-side comparison of Rust crates
63
uri_encode
stablev1.0.5
URL and URI percent encoding with JavaScript-style encodeURI and encodeURIComponent functions, plus query encoding.
45
encodeurl
experimentalv0.1.0
Encode a URL to a percent-encoded form, leaving already-encoded sequences (valid %XX escapes) intact. A faithful port of the `encodeurl` npm package. Safe, zero dependencies, no_std.
44
rune-url-encode
experimentalv0.2.0
URL percent-encoding and decoding for byte slices and strings
Core Metrics
| uri_encode | encodeurl | rune-url-encode | |
|---|---|---|---|
| Health Score | 63 | 45 | 44 |
| Total Downloads | 39.1K | 28 | 36 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 0 | 0 |
| Releases | 6 | 1 | 2 |
| Last Updated | 15d ago | 108d ago | 118d ago |
| Age | 4y 11m | 3m | 4m |
Health Breakdown
uri_encode
Maintenance
16
Quality
21
Community
9
Popularity
5
Documentation
12
encodeurl
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
15
rune-url-encode
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
10
Technical Details
| uri_encode | encodeurl | rune-url-encode | |
|---|---|---|---|
| Version | 1.0.5 | 0.1.0 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | ISC | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 5KB | 11KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.81 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •uri_encode leads with a health score of 63/100, but none of the options score above 80.
- •encodeurl, rune-url-encode are pre-1.0 — API may change.