Decision Workspace
tcp_typed vs socket_port vs sfo-reuseport
Side-by-side comparison of Rust crates
42
tcp_typed
growingv0.1.4
A wrapper around platform TCP socket APIs that leverages the type system to ensure correct usage. It's quite easy to accidentally misuse the Berkeley sockets or similar APIs, resulting in ECONNRESET/EPIPE/etc, data being lost on close, and potential hangs from non-exhaustive collection of edge-triggered events. This library aims to make it impossible to misuse in non-unsafe code.
52
socket_port
experimentalv0.1.33
Zero-downtime TCP listener with hot restart / 支持热重启的零停机 TCP 监听器
52
sfo-reuseport
experimentalv0.3.4
Multi-worker TCP and UDP services with reuse-port style socket distribution
Core Metrics
| tcp_typed | socket_port | sfo-reuseport | |
|---|---|---|---|
| Health Score | 42 | 52 | 52 |
| Total Downloads | 24.0K | 2.0K | 462 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 46 | 0 |
| Releases | 5 | 25 | 18 |
| Last Updated | 2605d ago | 65d ago | 99d ago |
| Age | 8y 2m | 10m | 4m |
Health Breakdown
tcp_typed
Maintenance
3
Quality
14
Community
8
Popularity
5
Documentation
12
socket_port
Maintenance
15
Quality
14
Community
11
Popularity
4
Documentation
8
sfo-reuseport
Maintenance
14
Quality
14
Community
6
Popularity
3
Documentation
15
Technical Details
| tcp_typed | socket_port | sfo-reuseport | |
|---|---|---|---|
| Version | 0.1.4 | 0.1.33 | 0.3.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MulanPSL-2.0 | MIT |
| Dependencies | 6 | 11 | 14 |
| Crate Size | 17KB | 21KB | 45KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •socket_port leads with a health score of 52/100, but none of the options score above 80.
- •tcp_typed has the most downloads (24.0K), suggesting wider adoption.
- •⚠ tcp_typed has not been updated in over a year.