tailscale 0.2.0

A work-in-progress Tailscale implementation
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.91.0"
name = "tailscale"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A work-in-progress Tailscale implementation"
readme = "README.md"
keywords = [
    "tailscale",
    "networking",
]
categories = [
    "network-programming",
    "api-bindings",
    "authentication",
    "asynchronous",
]
license = "BSD-3-Clause"
repository = "https://github.com/tailscale/tailscale-rs"

[package.metadata.docs.rs]
all-features = true

[features]
axum = ["dep:axum"]

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

[[example]]
name = "axum"
path = "examples/axum/main.rs"
required-features = ["axum"]

[[example]]
name = "peer_ping"
path = "examples/peer_ping/main.rs"

[[example]]
name = "tcp_echo"
path = "examples/tcp_echo/main.rs"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.rand]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
]
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
default-features = false

[dependencies.ts_control]
version = "0.2.0"

[dependencies.ts_keys]
version = "0.2.0"

[dependencies.ts_netstack_smoltcp]
version = "0.2.0"
features = ["tokio"]

[dependencies.ts_runtime]
version = "0.2.0"

[dependencies.url]
version = "2"
default-features = false

[dev-dependencies.clap]
version = "4"
features = [
    "derive",
    "derive",
]

[dev-dependencies.include_dir]
version = "0.7"

[dev-dependencies.mime_guess]
version = "2.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "full",
]
default-features = false

[dev-dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "release_max_level_info",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.ts_keys]
version = "0.2.0"

[lints.clippy]
multiple_crate_versions = "allow"
too_many_arguments = "allow"

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

[lints.rust]
closure_returning_async_block = "warn"
let-underscore = "warn"
missing_docs = "warn"

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "deny"

[profile.bench]
opt-level = 3
codegen-units = 1
debug = 2
split-debuginfo = "off"
strip = false

[profile.faststrip]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
split-debuginfo = "off"
incremental = false
inherits = "release"
strip = true

[profile.release]
opt-level = "s"
lto = true
split-debuginfo = "packed"
strip = true