3 releases
0.1.2 | May 31, 2021 |
---|---|
0.1.1 | May 31, 2021 |
0.1.0 | May 30, 2021 |
#3 in #zero-tier
58KB
1K
SLoC
libzt - Sockets over ZeroTier
libzt
replicates the functionality of std::net but uses ZeroTier as its P2P transport layer.
Securely connect application instances, physical devices, and virtual devices as if everything is on a single LAN.
Dependencies
The libzt
crate is a binding around a C/C++ native library. You must have this library installed on your system in order for this crate to work. Currently the best way to do this is to install from our Homebrew tap:
brew install zerotier/tap/libzt
Note: Windows is untested but support is planned.
Usage
Add the following to your Cargo.toml
:
[dependencies]
libzt = "0.1.2"
Docs
No runtime deps
~0–2.2MB
~43K SLoC