1个不稳定版本
0.0.1 | 2022年7月29日 |
---|
#11 在 #管
99KB
2K SLoC
Tubez
NOTE: Tubez is a side-project of mine that I spend varying amounts of
time on. My original goal for this project was to get more hands-on
experience with how Rust's concurrency abstractions work and perform.
As such, I've spent most of my time exploring how the design fits within
the constraints of Rust and very little (AKA zero) time on polishing
some of the API details, writing docs, or attempting to use Tubez in
a real-world use case -- but each of those things are on my mental
roadmap.
Until this project makes more development progress, I do not recommend
trying to do anything with it.
Tubez是一个基于http2/3(以及最终WebSocket和webtransport)的抽象,用于在客户端和服务器之间以极简的API建立长连接、单向和双向的二进制数据流(称为"管")。它支持客户端和服务器发起的管,管的生存周期管理,并使用自定义的帧协议,未来旨在以最小牺牲数据隐私的方式支持管的智能路由和负载均衡。
依赖项
~7–20MB
~229K SLoC