Decision Workspace
tcp_typed vs socket_port vs cbsk_rayon
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.
54
socket_port
experimentalv0.1.31
Zero-downtime TCP listener with hot restart / 支持热重启的零停机 TCP 监听器
51
cbsk_rayon
growingv2.1.2
callback socket tool by rayon
Core Metrics
| tcp_typed | socket_port | cbsk_rayon | |
|---|---|---|---|
| Health Score | 42 | 54 | 51 |
| Total Downloads | 21.8K | 649 | 6.3K |
| 30d Downloads | 135 | 87 | 9 |
| Dependents | 17 | 44 | 0 |
| Releases | 5 | 23 | 7 |
| Last Updated | 2409d ago | 11d ago | 372d ago |
| Age | 7y 7m | 3m | 1y 7m |
Health Breakdown
tcp_typed
Maintenance
3
Quality
14
Community
8
Popularity
5
Documentation
12
socket_port
Maintenance
18
Quality
14
Community
11
Popularity
3
Documentation
8
cbsk_rayon
Maintenance
10
Quality
21
Community
5
Popularity
5
Documentation
10
Technical Details
| tcp_typed | socket_port | cbsk_rayon | |
|---|---|---|---|
| Version | 0.1.4 | 0.1.31 | 2.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MulanPSL-2.0 | MIT/Apache-2.0 |
| Dependencies | 6 | 11 | 3 |
| Crate Size | 17KB | 20KB | 9KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •socket_port leads with a health score of 54/100, but none of the options score above 80.
- •tcp_typed has the most downloads (21.8K), suggesting wider adoption.
- •⚠ tcp_typed, cbsk_rayon have not been updated in over a year.
- •tcp_typed, socket_port are pre-1.0 — API may change.