# 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 = "2021" name = "embassy-net" version = "0.5.0" build = 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.docs.rs] features = [ "defmt", "tcp", "udp", "raw", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip", "medium-ieee802154", "multicast", "dhcpv4-hostname", ] [package.metadata.embassy_docs] features = [ "defmt", "tcp", "udp", "raw", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip", "medium-ieee802154", "multicast", "dhcpv4-hostname", ] 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/" target = "thumbv7em-none-eabi" [lib] name = "embassy_net" path = "src/lib.rs" [dependencies.defmt] version = "0.3.8" optional = true [dependencies.document-features] version = "0.2.7" [dependencies.embassy-net-driver] version = "0.2.0" [dependencies.embassy-sync] version = "0.6.1" [dependencies.embassy-time] version = "0.3.2" [dependencies.embedded-io-async] version = "0.6.1" [dependencies.embedded-nal-async] version = "0.8.0" [dependencies.heapless] version = "0.8" 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.12.0" features = [ "socket", "async", ] default-features = false [features] default = [] defmt = [ "dep:defmt", "smoltcp/defmt", "embassy-net-driver/defmt", "heapless/defmt-03", "defmt?/ip_in_core", ] dhcpv4 = [ "proto-ipv4", "medium-ethernet", "smoltcp/socket-dhcpv4", ] dhcpv4-hostname = ["dhcpv4"] dns = [ "smoltcp/socket-dns", "smoltcp/proto-dns", ] 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"] std = [] tcp = ["smoltcp/socket-tcp"] udp = ["smoltcp/socket-udp"]