Jan-Erik Rediger 0af1608fbc fix test
2023-03-12 19:52:00 +01:00
2023-03-01 08:21:28 -08:00
2023-03-12 19:52:00 +01:00
2023-03-12 15:47:34 +01:00
2023-03-12 19:36:42 +01:00
2023-03-12 19:36:42 +01:00
2023-03-07 19:54:59 -08:00
2023-03-07 19:54:59 -08:00
2023-03-12 19:36:42 +01:00

tsnet - bindings for libtailscale.

libtailscale is a C library that embeds Tailscale into a process. tsnet is a Rust crate wrapping libtailscale and exposing a Rust-y API on top.

Use this library to compile Tailscale into your program and get an IP address on a tailnet, entirely from userspace.

Requirements

  • Rust compiler & Cargo
  • Go v1.20 or higher

Getting started

After running cargo init add the following lines to your Cargo.toml file:

tsnet = "0.1.0"

Development

Build with

cargo build

Run tests with

cargo test

Run the examples with

cargo run --example echo_server
cargo run --example echo_client

Bugs

Please file any issues about this code or the hosted service on the issue tracker.

License

BSD 3-Clause for this repository, see LICENSE.

Description
No description provided
Readme BSD-3-Clause 110 KiB
Languages
Rust 28.1%
Ruby 21.1%
Go 20.4%
C 13.7%
Python 11.4%
Other 5.3%