ts_tunnel 0.2.0

secure packet tunnel over udp
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 = "ts_tunnel"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "secure packet tunnel over udp"
readme = "README.md"
keywords = [
    "tailscale",
    "wireguard",
    "tunnel",
    "udp",
    "sans-io",
]
categories = [
    "cryptography",
    "network-programming",
    "encoding",
]
license = "BSD-3-Clause"
repository = "https://github.com/tailscale/tailscale-rs"

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

[[example]]
name = "handshake"
path = "examples/handshake.rs"

[dependencies.aead]
version = "0.5"
features = ["std"]

[dependencies.blake2]
version = "0.10"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.hkdf]
version = "0.12"
features = ["std"]

[dependencies.itertools]
version = "0.14"

[dependencies.rand]
version = "0.10"

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

[dependencies.ts_keys]
version = "0.2.0"

[dependencies.ts_packet]
version = "0.2.0"

[dependencies.ts_time]
version = "0.2.0"

[dependencies.x25519-dalek]
version = "3.0.0-pre.6"
features = [
    "getrandom",
    "reusable_secrets",
    "static_secrets",
]

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.bytes]
version = "1"

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

[dev-dependencies.hex]
version = "0.4"

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

[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"