[package]
edition = "2024"
rust-version = "1.91.0"
name = "ts_dataplane"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "tailscale packet processing data plane"
readme = "README.md"
keywords = [
"tailscale",
"dataplane",
"network",
"packet",
"router",
]
categories = ["network-programming"]
license = "BSD-3-Clause"
repository = "https://github.com/tailscale/tailscale-rs"
[features]
async_tokio = ["dep:tokio"]
default = ["async_tokio"]
[lib]
name = "ts_dataplane"
path = "src/lib.rs"
[dependencies.etherparse]
version = "0.19"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
]
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
features = ["attributes"]
default-features = false
[dependencies.ts_bart]
version = "0.2.0"
[dependencies.ts_keys]
version = "0.2.0"
[dependencies.ts_overlay_router]
version = "0.2.0"
[dependencies.ts_packet]
version = "0.2.0"
[dependencies.ts_packetfilter]
version = "0.2.0"
[dependencies.ts_time]
version = "0.2.0"
[dependencies.ts_transport]
version = "0.2.0"
[dependencies.ts_tunnel]
version = "0.2.0"
[dependencies.ts_underlay_router]
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"