# 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" rust-version = "1.78" name = "edge-net" version = "0.8.1" authors = ["Ivan Markov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "no_std and no-alloc async implementations of various network protocols." readme = "README.md" keywords = [ "embedded", "network", ] categories = [ "embedded", "hardware-support", "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/ivmarkov/edge-net" [lib] name = "edge_net" path = "src/lib.rs" [[example]] name = "captive_portal" path = "examples/captive_portal.rs" required-features = ["std"] [[example]] name = "dhcp_client" path = "examples/dhcp_client.rs" required-features = ["std"] [[example]] name = "dhcp_server" path = "examples/dhcp_server.rs" required-features = ["std"] [[example]] name = "http_client" path = "examples/http_client.rs" required-features = ["std"] [[example]] name = "http_server" path = "examples/http_server.rs" required-features = ["std"] [[example]] name = "mdns_responder" path = "examples/mdns_responder.rs" required-features = ["std"] [[example]] name = "mdns_service_responder" path = "examples/mdns_service_responder.rs" required-features = ["std"] [[example]] name = "mqtt_client" path = "examples/mqtt_client.rs" required-features = [ "std", "embedded-svc", ] [[example]] name = "nal_std" path = "examples/nal_std.rs" required-features = ["std"] [[example]] name = "ws_client" path = "examples/ws_client.rs" required-features = ["std"] [[example]] name = "ws_server" path = "examples/ws_server.rs" required-features = ["std"] [dependencies.edge-captive] version = "0.3.0" default-features = false [dependencies.edge-dhcp] version = "0.3.0" default-features = false [dependencies.edge-http] version = "0.3.0" default-features = false [dependencies.edge-mdns] version = "0.3.1" default-features = false [dependencies.edge-mqtt] version = "0.3.0" optional = true default-features = false [dependencies.edge-nal] version = "0.3.0" optional = true default-features = false [dependencies.edge-nal-embassy] version = "0.3.0" optional = true default-features = false [dependencies.edge-nal-std] version = "0.3.0" optional = true default-features = false [dependencies.edge-raw] version = "0.3.0" default-features = false [dependencies.edge-ws] version = "0.3.0" default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-compat] version = "0.2" [dev-dependencies.embassy-futures] version = "0.1" [dev-dependencies.embassy-sync] version = "0.6" [dev-dependencies.embassy-time] version = "0.3" features = [ "std", "generic-queue", ] [dev-dependencies.embedded-io-async] version = "0.6" [dev-dependencies.embedded-svc] version = "0.28" features = ["std"] [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.futures-lite] version = "2" [dev-dependencies.log] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" [features] async-io-mini = [ "std", "edge-nal-std/async-io-mini", ] default = ["io"] embassy = [ "io", "edge-nal-embassy", ] embedded-svc = [ "edge-http/embedded-svc", "edge-mqtt/embedded-svc", "edge-ws/embedded-svc", ] io = [ "edge-captive/io", "edge-dhcp/io", "edge-http/io", "edge-mdns/io", "edge-raw/io", "edge-ws/io", "edge-nal", ] nightly = [] std = [ "io", "edge-captive/std", "edge-dhcp/std", "edge-http/std", "edge-mdns/std", "edge-raw/std", "edge-mqtt", "edge-ws/std", "edge-nal-std", ]