37 releases
0.1.4-beta | Oct 22, 2024 |
---|---|
0.1.1-beta | Jul 26, 2024 |
0.0.15-alpha | Oct 11, 2024 |
0.0.8-alpha | Mar 18, 2024 |
0.0.1-alpha.7 | Mar 28, 2023 |
#174 in Network programming
2,589 downloads per month
Used in 16 crates
(2 directly)
220KB
5K
SLoC
- ⚠️ This code is new and should not yet be considered secure for production use!
Tx5
- tx5 - - The main holochain tx5 webrtc networking crate integrating the other code in this monorepo.
Tx5 Support Crates
- tx5-connection - - Holochain webrtc connection.
- tx5-core - - Core types used in other tx5 crates.
- tx5-online - - Network online connectivity status events.
- tx5-go-pion-turn - - Rust process wrapper around tx5-go-pion-turn executable.
- tx5-go-pion-sys - - Low level rust bindings to the go pion webrtc library.
- tx5-go-pion - - Higher level rust bindings to the go pion webrtc library.
- tx5-signal - - Holochain webrtc signal client.
- tx5-demo - - Demo showing off tx5 p2p connectivity.
tx5
Tx5 - The main holochain tx5 webrtc networking crate.
WebRTC Backend Features
Tx5 can be backed currently by 1 of 2 backend webrtc libraries.
*
DEFAULT*
backend-go-pion
- The pion webrtc library writen in go (golang).backend-webrtc-rs
- The rust webrtc library.
The go pion library is currently the default as it is more mature and well tested, but comes with some overhead of calling into a different memory/runtime. When the rust library is stable enough for holochain's needs, we will switch the default. To switch now, or if you want to make sure the backend doesn't change out from under you, set no-default-features and explicitly enable the backend of your choice.
Dependencies
~19–32MB
~574K SLoC