tailscale-rest 1.3.2

Typed client for the Tailscale control-plane REST API v2
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "tailscale-rest"
version = "1.3.2"
authors = ["The tailscale-mcp authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed client for the Tailscale control-plane REST API v2"
homepage = "https://github.com/tailscale-mcp/tailscale-mcp"
readme = false
keywords = [
    "tailscale",
    "api",
    "client",
    "tailnet",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/tailscale-mcp/tailscale-mcp"

[features]
testing = [
    "tokio/net",
    "tokio/rt",
    "tokio/io-util",
    "tokio/macros",
]

[lib]
name = "tailscale_rest"
path = "src/lib.rs"

[[test]]
name = "schema_drift"
path = "tests/schema_drift.rs"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "charset",
    "http2",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.serde_norway]
version = "0.9"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "rt-multi-thread",
    "io-util",
    "macros",
]

[lints.clippy]
expect_used = "warn"
print_stderr = "allow"
print_stdout = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"