# 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.79.0" name = "esp-wifi" version = "0.10.1" authors = ["The ESP-RS team"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A WiFi, Bluetooth and ESP-NOW driver for use with Espressif chips and bare-metal Rust" documentation = "https://docs.esp-rs.org/esp-hal/" readme = "README.md" keywords = [ "wifi", "bluetooth", "esp", "no-std", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/esp-rs/esp-hal" [package.metadata.docs.rs] default-target = "riscv32imc-unknown-none-elf" features = [ "esp32c3", "wifi", "ble", "coex", "async", "embassy-net", "esp-hal/default", ] [lib] name = "esp_wifi" path = "src/lib.rs" [dependencies.bt-hci] version = "0.1.1" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.critical-section] version = "1.1.3" [dependencies.defmt] version = "0.3.8" optional = true [dependencies.document-features] version = "0.2.10" [dependencies.embassy-net-driver] version = "0.2.0" optional = true [dependencies.embassy-sync] version = "0.6.0" optional = true [dependencies.embedded-io] version = "0.6.1" default-features = false [dependencies.embedded-io-async] version = "0.6.1" optional = true [dependencies.enumset] version = "1.1.5" optional = true default-features = false [dependencies.esp-alloc] version = "0.5.0" optional = true [dependencies.esp-config] version = "0.1.0" [dependencies.esp-hal] version = "0.21.0" default-features = false [dependencies.esp-wifi-sys] version = "0.6.0" [dependencies.fugit] version = "0.3.7" [dependencies.heapless] version = "0.8.0" features = ["portable-atomic"] default-features = false [dependencies.libm] version = "0.2.8" [dependencies.log] version = "0.4.22" optional = true [dependencies.no-std-net] version = "0.6.0" optional = true [dependencies.num-derive] version = "0.4.2" [dependencies.num-traits] version = "0.2.19" default-features = false [dependencies.portable-atomic] version = "1.9.0" default-features = false [dependencies.portable_atomic_enum] version = "0.3.1" features = ["portable-atomic"] [dependencies.smoltcp] version = "0.11.0" features = [ "medium-ethernet", "socket-raw", ] optional = true default-features = false [dependencies.xtensa-lx-rt] version = "0.17.1" optional = true [build-dependencies.esp-build] version = "0.1.0" [build-dependencies.esp-config] version = "0.1.0" features = ["build"] [build-dependencies.esp-metadata] version = "0.4.0" [features] async = [ "dep:embassy-sync", "dep:embedded-io-async", "dep:bt-hci", ] ble = ["esp-hal/bluetooth"] coex = [] default = ["esp-alloc"] defmt = [ "dep:defmt", "smoltcp?/defmt", "esp-hal/defmt", "bt-hci?/defmt", "esp-wifi-sys/defmt", ] dhcpv4 = [ "wifi", "utils", "smoltcp?/proto-dhcpv4", "smoltcp?/socket-dhcpv4", ] dns = [ "udp", "smoltcp?/proto-dns", "smoltcp?/socket-dns", ] dump-packets = [] embassy-net = [ "dep:embassy-net-driver", "async", ] esp-alloc = ["dep:esp-alloc"] esp-now = ["wifi"] esp32 = [ "esp-hal/esp32", "esp-wifi-sys/esp32", "xtensa-lx-rt/float-save-restore", ] esp32c2 = [ "esp-hal/esp32c2", "esp-wifi-sys/esp32c2", ] esp32c3 = [ "esp-hal/esp32c3", "esp-wifi-sys/esp32c3", ] esp32c6 = [ "esp-hal/esp32c6", "esp-wifi-sys/esp32c6", ] esp32h2 = [ "esp-hal/esp32h2", "esp-wifi-sys/esp32h2", ] esp32s2 = [ "esp-hal/esp32s2", "esp-wifi-sys/esp32s2", "xtensa-lx-rt/float-save-restore", ] esp32s3 = [ "esp-hal/esp32s3", "esp-wifi-sys/esp32s3", "xtensa-lx-rt/float-save-restore", ] have-strchr = [] icmp = [ "ipv4", "smoltcp?/socket-icmp", ] igmp = [ "ipv4", "smoltcp?/proto-igmp", ] ipv4 = [ "wifi", "utils", "smoltcp?/proto-ipv4", ] ipv6 = [ "wifi", "utils", "smoltcp?/proto-ipv6", ] log = [ "dep:log", "esp-hal/log", "esp-wifi-sys/log", ] phy-enable-usb = [] ps-max-modem = [] ps-min-modem = [] smoltcp = ["dep:smoltcp"] sniffer = ["wifi"] sys-logs = ["esp-wifi-sys/sys-logs"] tcp = [ "ipv4", "smoltcp?/socket-tcp", ] udp = [ "ipv4", "smoltcp?/socket-udp", ] utils = ["smoltcp"] wifi = [ "dep:enumset", "dep:no-std-net", ] wifi-default = [ "ipv4", "tcp", "udp", "icmp", "igmp", "dns", "dhcpv4", ]