[package]
edition = "2021"
name = "tailscale-localapi"
version = "0.6.0"
authors = ["John Downey"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for the Tailscale local API"
homepage = "https://github.com/jtdowney/tailscale-localapi"
documentation = "https://docs.rs/tailscale-localapi"
readme = "README.md"
license = "MIT"
[lib]
name = "tailscale_localapi"
path = "src/lib.rs"
[[example]]
name = "status-macos"
path = "examples/status-macos.rs"
[[example]]
name = "status-macos-standalone"
path = "examples/status-macos-standalone.rs"
[[example]]
name = "status-unix"
path = "examples/status-unix.rs"
[[example]]
name = "status-windows"
path = "examples/status-windows.rs"
[[test]]
name = "headscale"
path = "tests/headscale.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde-aux]
version = "4"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"rt",
]
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]