# 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"
name = "embassy-net"
version = "0.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async TCP/IP network stack for embedded systems"
documentation = "https://docs.embassy.dev/embassy-net"
readme = "README.md"
categories = [
    "embedded",
    "no-std",
    "asynchronous",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/embassy-rs/embassy"

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "packet-trace",
    "proto-ipv4",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "multicast",
    "proto-ipv4",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dhcpv4",
    "dns",
    "medium-ethernet",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dhcpv4",
    "dhcpv4-hostname",
    "dns",
    "medium-ethernet",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dhcpv4",
    "dhcpv4-hostname",
    "dns",
    "medium-ethernet",
    "slaac",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "proto-ipv6",
    "slaac",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ieee802154",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "medium-ieee802154",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "proto-ipv4",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ip",
    "proto-ipv4",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "medium-ip",
    "proto-ipv4",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
target = "thumbv7em-none-eabi"
features = [
    "defmt",
    "dns",
    "medium-ethernet",
    "medium-ieee802154",
    "medium-ip",
    "proto-ipv4",
    "proto-ipv6",
    "tcp",
    "udp",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "medium-ethernet",
    "packet-trace",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "multicast",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "dhcpv4",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "dhcpv4",
    "medium-ethernet",
    "dhcpv4-hostname",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv6",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv6",
    "medium-ieee802154",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv6",
    "medium-ethernet",
    "medium-ieee802154",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv6",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "proto-ipv6",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "proto-ipv6",
    "medium-ip",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "proto-ipv6",
    "medium-ip",
    "medium-ethernet",
]

[[package.metadata.embassy.build]]
group = "xtensa"
build-std = [
    "core",
    "alloc",
]
target = "xtensa-esp32-none-elf"
features = [
    "defmt",
    "tcp",
    "udp",
    "dns",
    "proto-ipv4",
    "proto-ipv6",
    "medium-ip",
    "medium-ethernet",
    "medium-ieee802154",
]

[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net/src/"
features = [
    "defmt",
    "tcp",
    "udp",
    "raw",
    "dns",
    "icmp",
    "dhcpv4",
    "proto-ipv6",
    "medium-ethernet",
    "medium-ip",
    "medium-ieee802154",
    "multicast",
    "dhcpv4-hostname",
]
target = "thumbv7em-none-eabi"

[package.metadata.docs.rs]
features = [
    "defmt",
    "tcp",
    "udp",
    "raw",
    "dns",
    "icmp",
    "dhcpv4",
    "proto-ipv6",
    "medium-ethernet",
    "medium-ip",
    "medium-ieee802154",
    "multicast",
    "dhcpv4-hostname",
]

[features]
alloc = ["smoltcp/alloc"]
auto-icmp-echo-reply = ["smoltcp/auto-icmp-echo-reply"]
defmt = [
    "dep:defmt",
    "smoltcp/defmt",
    "embassy-net-driver/defmt",
    "embassy-time/defmt",
    "heapless/defmt",
    "defmt?/ip_in_core",
]
dhcpv4 = [
    "proto-ipv4",
    "medium-ethernet",
    "smoltcp/socket-dhcpv4",
]
dhcpv4-hostname = ["dhcpv4"]
dns = [
    "smoltcp/socket-dns",
    "smoltcp/proto-dns",
]
icmp = ["smoltcp/socket-icmp"]
log = ["dep:log"]
mdns = [
    "dns",
    "smoltcp/socket-mdns",
]
medium-ethernet = ["smoltcp/medium-ethernet"]
medium-ieee802154 = ["smoltcp/medium-ieee802154"]
medium-ip = ["smoltcp/medium-ip"]
multicast = ["smoltcp/multicast"]
packet-trace = []
proto-ipv4 = ["smoltcp/proto-ipv4"]
proto-ipv6 = ["smoltcp/proto-ipv6"]
raw = ["smoltcp/socket-raw"]
slaac = [
    "proto-ipv6",
    "multicast",
    "smoltcp/proto-ipv6-slaac",
]
std = ["smoltcp/std"]
tcp = ["smoltcp/socket-tcp"]
udp = ["smoltcp/socket-udp"]

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

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

[dependencies.document-features]
version = "0.2.7"

[dependencies.embassy-net-driver]
version = "0.2.0"

[dependencies.embassy-sync]
version = "0.8.0"

[dependencies.embassy-time]
version = "0.5.1"

[dependencies.embedded-io-async]
version = "0.7.0"

[dependencies.embedded-nal-async]
version = "0.9.0"

[dependencies.heapless]
version = "0.9"
default-features = false

[dependencies.log]
version = "0.4.14"
optional = true

[dependencies.managed]
version = "0.8.0"
features = ["map"]
default-features = false

[dependencies.smoltcp]
version = "0.13.0"
features = [
    "socket",
    "async",
]
default-features = false
