libzt
replicates the functionality of std::net but uses ZeroTier as its transport layer.
Securely connect application instances, physical devices, and virtual devices as if everything is on a single LAN. ZeroTier brings your network into user-space. No root, and no host configuration requirements.
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.
Add the following to your Cargo.toml
:
toml
[dependencies]
libzt = "0.1.1"
cargo run --example libzt-test-app