Decision Workspace
tcp_typed vs socket_port vs cbsk_socket
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.31
Zero-downtime TCP listener with hot restart / 支持热重启的零停机 TCP 监听器
51
cbsk_socket
growingv2.1.2
cbsk_socket is a socket callback tool
Core Metrics
| tcp_typed | socket_port | cbsk_socket | |
|---|---|---|---|
| Health Score | 42 | 52 | 51 |
| Total Downloads | 22.3K | 1.1K | 59.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 44 | 70 |
| Releases | 5 | 23 | 50 |
| Last Updated | 2468d ago | 70d ago | 431d ago |
| Age | 7y 9m | 5m | 2y 5m |
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
cbsk_socket
Maintenance
8
Quality
17
Community
10
Popularity
6
Documentation
10
Technical Details
| tcp_typed | socket_port | cbsk_socket | |
|---|---|---|---|
| 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 | 1 |
| Crate Size | 17KB | 20KB | 5KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 24.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| 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.
- •cbsk_socket has the most downloads (59.6K), suggesting wider adoption.
- •⚠ tcp_typed, cbsk_socket have not been updated in over a year.
- •tcp_typed, socket_port are pre-1.0 — API may change.