Skip to content

Commit

Permalink
Don't require smoltcp as a dev dependency (esp-rs#365)
Browse files Browse the repository at this point in the history
* Don't require smoltcp as a dev dependency

* Document the smoltcp feature
  • Loading branch information
bugadani authored and bjoernQ committed May 23, 2024
1 parent 2eaa1b5 commit 073b7d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions esp-wifi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ futures-util.workspace = true
bleps = { workspace = true, features = ["async"] }
embedded-hal-async.workspace = true
log.workspace = true
smoltcp.workspace = true
static_cell.workspace = true

[features]
Expand Down Expand Up @@ -111,13 +110,13 @@ phy-enable-usb = []
ps-min-modem = []
ps-max-modem = []
esp-now = [ "wifi" ]
ipv6 = ["wifi", "utils", "smoltcp?/proto-ipv6"]
ipv4 = ["wifi", "utils", "smoltcp?/proto-ipv4"]
tcp = ["ipv4", "smoltcp?/socket-tcp"]
udp = ["ipv4", "smoltcp?/socket-udp"]
icmp = ["ipv4", "smoltcp?/socket-icmp"]
igmp = ["ipv4", "smoltcp?/proto-igmp"]
dns = ["udp", "smoltcp?/proto-dns", "smoltcp?/socket-dns"]
ipv6 = ["wifi", "utils", "smoltcp?/proto-ipv6"]
ipv4 = ["wifi", "utils", "smoltcp?/proto-ipv4"]
tcp = ["ipv4", "smoltcp?/socket-tcp"]
udp = ["ipv4", "smoltcp?/socket-udp"]
icmp = ["ipv4", "smoltcp?/socket-icmp"]
igmp = ["ipv4", "smoltcp?/proto-igmp"]
dns = ["udp", "smoltcp?/proto-dns", "smoltcp?/socket-dns"]
dhcpv4 = ["wifi", "utils", "smoltcp?/proto-dhcpv4", "smoltcp?/socket-dhcpv4"]
defmt = [
"dep:defmt",
Expand Down
1 change: 1 addition & 0 deletions esp-wifi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Don't use this feature if your are _not_ using USB-SERIAL-JTAG since it might re
| -------------- | ---------------------------------------------------------------------------------------------------- |
| wifi-logs | logs the WiFi logs from the driver at log level info |
| dump-packets | dumps packet info at log level info |
| smoltcp | Provide implementations of `smoltcp` traits |
| utils | Provide utilities for smoltcp initialization; adds `smoltcp` dependency |
| ble | Enable BLE support |
| wifi | Enable WiFi support |
Expand Down

0 comments on commit 073b7d5

Please sign in to comment.