[[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", "socket-udp"]
[dependencies.bitflags]
default-features = false
version = "1.0"
[dependencies.byteorder]
default-features = false
version = "1.0"
[dependencies.defmt]
optional = true
version = "0.3"
[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.9"
[dev-dependencies.getopts]
version = "0.2"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.url]
version = "2.0"
[features]
alloc = ["managed/alloc"]
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-sixlowpan", "socket-raw", "socket-icmp", "socket-udp", "socket-tcp", "socket-dhcpv4", "async"]
medium-ethernet = ["socket"]
medium-ieee802154 = ["socket", "proto-sixlowpan"]
medium-ip = ["socket"]
phy-raw_socket = ["std", "libc"]
phy-tuntap_interface = ["std", "libc", "medium-ethernet"]
proto-dhcpv4 = ["proto-ipv4"]
proto-igmp = ["proto-ipv4"]
proto-ipv4 = []
proto-ipv6 = []
proto-sixlowpan = ["proto-ipv6"]
rust-1_28 = []
socket = []
socket-dhcpv4 = ["socket", "medium-ethernet", "proto-dhcpv4"]
socket-icmp = ["socket"]
socket-raw = ["socket"]
socket-tcp = ["socket"]
socket-udp = ["socket"]
std = ["managed/std"]
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 = "2018"
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"
version = "0.8.2"
[profile.release]
debug = 2