ts_netstack_smoltcp_core 0.3.3

command-channel-based userspace netstack built on smoltcp (core functionality)
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_netstack_smoltcp_core"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "command-channel-based userspace netstack built on smoltcp (core functionality)"
readme = "README.md"
keywords = [
    "tailscale",
    "network",
    "smoltcp",
    "netstack",
]
categories = [
    "no-std",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/tailscale/tailscale-rs"

[features]
std = []

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

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

[dependencies.bytes]
version = "1"

[dependencies.flume]
version = "0.12"

[dependencies.heapless]
version = "0.9"

[dependencies.smoltcp]
version = "0.13"
features = [
    "alloc",
    "proto-ipv6",
    "proto-ipv6-fragmentation",
    "proto-ipv4",
    "proto-ipv4-fragmentation",
    "medium-ip",
    "socket-tcp",
    "socket-udp",
    "socket-icmp",
    "socket-raw",
]
default-features = false

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

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

[dev-dependencies.smoltcp]
version = "0.13"
features = [
    "alloc",
    "proto-ipv6",
    "proto-ipv6-fragmentation",
    "proto-ipv4",
    "proto-ipv4-fragmentation",
    "medium-ip",
    "socket-tcp",
    "socket-udp",
    "socket-icmp",
    "socket-raw",
    "iface-max-addr-count-4",
    "log",
    "verbose",
]
default-features = false

[dev-dependencies.tracing-panic]
version = "0.1"
features = ["capture-backtrace"]

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