35次发布
0.1.3-beta | 2024年8月14日 |
---|---|
0.1.1-beta | 2024年7月26日 |
0.0.8-alpha | 2024年3月18日 |
0.0.6-alpha | 2023年12月20日 |
0.0.1-alpha.7 | 2023年3月28日 |
166 在 网络编程 中
每月3,106次下载
用于 16 个crate(2个直接使用)
205KB
4.5K SLoC
- ⚠️ 此代码是新代码,不应用于生产环境!
Tx5
- tx5 -
- 整合此单仓中其他代码的Holochain tx5 webrtc网络crate。
Tx5支持crate
- tx5-connection -
- Holochain webrtc连接。
- tx5-core -
- 其他tx5 crate中使用的核心类型。
- tx5-online -
- 网络在线连接状态事件。
- tx5-go-pion-turn -
- Rust进程包装tx5-go-pion-turn可执行文件。
- tx5-go-pion-sys -
- 对go pion webrtc库的低级Rust绑定。
- tx5-go-pion -
- 对 go pion webrtc 库的高级 rust 绑定。
- tx5-signal -
- Holochain webrtc 信号客户端。
- tx5-demo -
- 展示 tx5 p2p 连接性的演示。
tx5
Tx5 - Holochain 的主要 tx5 webrtc 网络库。
WebRTC 后端特性
Tx5 目前可以由 2 个后端 webrtc 库中的 1 个支持。
*
DEFAULT*
backend-go-pion
- 用 go (golang) 编写的 pion webrtc 库。backend-webrtc-rs
- rust webrtc 库。
go pion 库目前是默认选择,因为它更成熟且经过充分测试,但调用不同的内存/运行时带来了一些开销。当 rust 库足够稳定以满足 Holochain 的需求时,我们将切换到默认库。要立即切换,或者如果您想确保后端不会在您不知情的情况下更改,请设置 no-default-features 并显式启用您选择的库。
依赖关系
~18–32MB
~584K SLoC