# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tsnet" version = "0.1.0" build = "rust/build.rs" include = [ "/LICENSE", "/README.md", "/go.mod", "/go.sum", "/tailscale.go", "/tailscale.c", "/tailscale.h", "/rust/src", "/rust/examples", "/rust/build.rs", ] description = "Compile Tailscale into your program and get an entirely userspace IP address on a tailnet." readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/badboy/libtailscale" [lib] path = "rust/src/lib.rs" [[example]] name = "echo_client" path = "rust/examples/echo_client.rs" [[example]] name = "echo_server" path = "rust/examples/echo_server.rs" [dependencies.hyper] version = "0.14.25" features = ["server"] optional = true [dependencies.log] version = "0.4.17" default-features = false [dependencies.nix] version = "0.26.2" [dependencies.thiserror] version = "1.0.39" [dependencies.tokio] version = "1.26.0" features = [ "rt", "net", ] optional = true [dev-dependencies.env_logger] version = "0.10.0" [features] default = [] tokio = [ "dep:tokio", "dep:hyper", ]