smoltcp 0.11.0

A TCP/IP stack designed for bare-metal, real-time systems without a heap.
Documentation
[[example]]
name = "packet2pcap"
path = "utils/packet2pcap.rs"
required-features = ["std"]

[[example]]
name = "tcpdump"
required-features = ["std", "phy-raw_socket", "proto-ipv4"]

[[example]]
name = "httpclient"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "proto-ipv6", "socket-tcp"]

[[example]]
name = "ping"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "proto-ipv6", "socket-icmp"]

[[example]]
name = "server"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "socket-tcp", "socket-udp"]

[[example]]
name = "client"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "socket-tcp", "socket-udp"]

[[example]]
name = "loopback"
required-features = ["log", "medium-ethernet", "proto-ipv4", "socket-tcp"]

[[example]]
name = "multicast"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "proto-igmp", "socket-udp"]

[[example]]
name = "benchmark"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "socket-raw", "socket-udp"]

[[example]]
name = "dhcp_client"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "proto-dhcpv4", "socket-raw"]

[[example]]
name = "sixlowpan"
required-features = ["std", "medium-ieee802154", "phy-raw_socket", "proto-sixlowpan", "proto-sixlowpan-fragmentation", "socket-udp"]

[[example]]
name = "sixlowpan_benchmark"
required-features = ["std", "medium-ieee802154", "phy-raw_socket", "proto-sixlowpan", "proto-sixlowpan-fragmentation", "socket-udp"]

[[example]]
name = "dns"
required-features = ["std", "medium-ethernet", "medium-ip", "phy-tuntap_interface", "proto-ipv4", "socket-dns"]
[dependencies.bitflags]
default-features = false
version = "1.0"

[dependencies.byteorder]
default-features = false
version = "1.0"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.defmt]
optional = true
version = "0.3"

[dependencies.heapless]
version = "0.8"

[dependencies.libc]
optional = true
version = "0.2.18"

[dependencies.log]
default-features = false
optional = true
version = "0.4.4"

[dependencies.managed]
default-features = false
features = ["map"]
version = "0.8"
[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.getopts]
version = "0.2"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rstest]
version = "0.17"

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

[features]
_proto-fragmentation = []
alloc = ["managed/alloc", "defmt?/alloc"]
assembler-max-segment-count-1 = []
assembler-max-segment-count-16 = []
assembler-max-segment-count-2 = []
assembler-max-segment-count-3 = []
assembler-max-segment-count-32 = []
assembler-max-segment-count-4 = []
assembler-max-segment-count-8 = []
async = []
default = ["std", "log", "medium-ethernet", "medium-ip", "medium-ieee802154", "phy-raw_socket", "phy-tuntap_interface", "proto-ipv4", "proto-igmp", "proto-dhcpv4", "proto-ipv6", "proto-dns", "proto-ipv4-fragmentation", "proto-sixlowpan-fragmentation", "socket-raw", "socket-icmp", "socket-udp", "socket-tcp", "socket-dhcpv4", "socket-dns", "socket-mdns", "packetmeta-id", "async"]
defmt = ["dep:defmt", "heapless/defmt-03"]
dns-max-name-size-128 = []
dns-max-name-size-255 = []
dns-max-name-size-64 = []
dns-max-result-count-1 = []
dns-max-result-count-16 = []
dns-max-result-count-2 = []
dns-max-result-count-3 = []
dns-max-result-count-32 = []
dns-max-result-count-4 = []
dns-max-result-count-8 = []
dns-max-server-count-1 = []
dns-max-server-count-16 = []
dns-max-server-count-2 = []
dns-max-server-count-3 = []
dns-max-server-count-32 = []
dns-max-server-count-4 = []
dns-max-server-count-8 = []
fragmentation-buffer-size-1024 = []
fragmentation-buffer-size-1500 = []
fragmentation-buffer-size-16384 = []
fragmentation-buffer-size-2048 = []
fragmentation-buffer-size-256 = []
fragmentation-buffer-size-32768 = []
fragmentation-buffer-size-4096 = []
fragmentation-buffer-size-512 = []
fragmentation-buffer-size-65536 = []
fragmentation-buffer-size-8192 = []
iface-max-addr-count-1 = []
iface-max-addr-count-2 = []
iface-max-addr-count-3 = []
iface-max-addr-count-4 = []
iface-max-addr-count-5 = []
iface-max-addr-count-6 = []
iface-max-addr-count-7 = []
iface-max-addr-count-8 = []
iface-max-multicast-group-count-1 = []
iface-max-multicast-group-count-1024 = []
iface-max-multicast-group-count-128 = []
iface-max-multicast-group-count-16 = []
iface-max-multicast-group-count-2 = []
iface-max-multicast-group-count-256 = []
iface-max-multicast-group-count-3 = []
iface-max-multicast-group-count-32 = []
iface-max-multicast-group-count-4 = []
iface-max-multicast-group-count-5 = []
iface-max-multicast-group-count-512 = []
iface-max-multicast-group-count-6 = []
iface-max-multicast-group-count-64 = []
iface-max-multicast-group-count-7 = []
iface-max-multicast-group-count-8 = []
iface-max-route-count-1 = []
iface-max-route-count-1024 = []
iface-max-route-count-128 = []
iface-max-route-count-16 = []
iface-max-route-count-2 = []
iface-max-route-count-256 = []
iface-max-route-count-3 = []
iface-max-route-count-32 = []
iface-max-route-count-4 = []
iface-max-route-count-5 = []
iface-max-route-count-512 = []
iface-max-route-count-6 = []
iface-max-route-count-64 = []
iface-max-route-count-7 = []
iface-max-route-count-8 = []
iface-max-sixlowpan-address-context-count-1 = []
iface-max-sixlowpan-address-context-count-1024 = []
iface-max-sixlowpan-address-context-count-128 = []
iface-max-sixlowpan-address-context-count-16 = []
iface-max-sixlowpan-address-context-count-2 = []
iface-max-sixlowpan-address-context-count-256 = []
iface-max-sixlowpan-address-context-count-3 = []
iface-max-sixlowpan-address-context-count-32 = []
iface-max-sixlowpan-address-context-count-4 = []
iface-max-sixlowpan-address-context-count-5 = []
iface-max-sixlowpan-address-context-count-512 = []
iface-max-sixlowpan-address-context-count-6 = []
iface-max-sixlowpan-address-context-count-64 = []
iface-max-sixlowpan-address-context-count-7 = []
iface-max-sixlowpan-address-context-count-8 = []
iface-neighbor-cache-count-1 = []
iface-neighbor-cache-count-1024 = []
iface-neighbor-cache-count-128 = []
iface-neighbor-cache-count-16 = []
iface-neighbor-cache-count-2 = []
iface-neighbor-cache-count-256 = []
iface-neighbor-cache-count-3 = []
iface-neighbor-cache-count-32 = []
iface-neighbor-cache-count-4 = []
iface-neighbor-cache-count-5 = []
iface-neighbor-cache-count-512 = []
iface-neighbor-cache-count-6 = []
iface-neighbor-cache-count-64 = []
iface-neighbor-cache-count-7 = []
iface-neighbor-cache-count-8 = []
ipv6-hbh-max-options-1 = []
ipv6-hbh-max-options-16 = []
ipv6-hbh-max-options-2 = []
ipv6-hbh-max-options-3 = []
ipv6-hbh-max-options-32 = []
ipv6-hbh-max-options-4 = []
ipv6-hbh-max-options-8 = []
medium-ethernet = ["socket"]
medium-ieee802154 = ["socket", "proto-sixlowpan"]
medium-ip = ["socket"]
packetmeta-id = []
phy-raw_socket = ["std", "libc"]
phy-tuntap_interface = ["std", "libc", "medium-ethernet"]
proto-dhcpv4 = ["proto-ipv4"]
proto-dns = []
proto-igmp = ["proto-ipv4"]
proto-ipsec = ["proto-ipsec-ah", "proto-ipsec-esp"]
proto-ipsec-ah = []
proto-ipsec-esp = []
proto-ipv4 = []
proto-ipv4-fragmentation = ["proto-ipv4", "_proto-fragmentation"]
proto-ipv6 = []
proto-ipv6-fragmentation = ["proto-ipv6", "_proto-fragmentation"]
proto-ipv6-hbh = ["proto-ipv6"]
proto-ipv6-routing = ["proto-ipv6"]
proto-rpl = ["proto-ipv6-hbh", "proto-ipv6-routing"]
proto-sixlowpan = ["proto-ipv6"]
proto-sixlowpan-fragmentation = ["proto-sixlowpan", "_proto-fragmentation"]
reassembly-buffer-count-1 = []
reassembly-buffer-count-16 = []
reassembly-buffer-count-2 = []
reassembly-buffer-count-3 = []
reassembly-buffer-count-32 = []
reassembly-buffer-count-4 = []
reassembly-buffer-count-8 = []
reassembly-buffer-size-1024 = []
reassembly-buffer-size-1500 = []
reassembly-buffer-size-16384 = []
reassembly-buffer-size-2048 = []
reassembly-buffer-size-256 = []
reassembly-buffer-size-32768 = []
reassembly-buffer-size-4096 = []
reassembly-buffer-size-512 = []
reassembly-buffer-size-65536 = []
reassembly-buffer-size-8192 = []
rpl-parents-buffer-count-16 = []
rpl-parents-buffer-count-2 = []
rpl-parents-buffer-count-32 = []
rpl-parents-buffer-count-4 = []
rpl-parents-buffer-count-8 = []
rpl-relations-buffer-count-1 = []
rpl-relations-buffer-count-128 = []
rpl-relations-buffer-count-16 = []
rpl-relations-buffer-count-2 = []
rpl-relations-buffer-count-32 = []
rpl-relations-buffer-count-4 = []
rpl-relations-buffer-count-64 = []
rpl-relations-buffer-count-8 = []
socket = []
socket-dhcpv4 = ["socket", "medium-ethernet", "proto-dhcpv4"]
socket-dns = ["socket", "proto-dns"]
socket-icmp = ["socket"]
socket-mdns = ["socket-dns"]
socket-raw = ["socket"]
socket-tcp = ["socket"]
socket-udp = ["socket"]
std = ["managed/std", "alloc"]
verbose = []

[package]
authors = ["whitequark <whitequark@whitequark.org>"]
autoexamples = false
categories = ["embedded", "network-programming"]
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
documentation = "https://docs.rs/smoltcp/"
edition = "2021"
homepage = "https://github.com/smoltcp-rs/smoltcp"
keywords = ["ip", "tcp", "udp", "ethernet", "network"]
license = "0BSD"
name = "smoltcp"
readme = "README.md"
repository = "https://github.com/smoltcp-rs/smoltcp.git"
rust-version = "1.65"
version = "0.11.0"
[profile.release]
debug = 2