esp-rs / esp-idf-svc

Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)
https://docs.esp-rs.org/esp-idf-svc/
Apache License 2.0
285 stars 161 forks source link

Allow disabling IPv6 #418

Closed DavidVentura closed 2 months ago

DavidVentura commented 2 months ago

This change allows disabling IPv6 - the type is defined as a union only when IPv4 and IPv6 are enabled here

I'm not sure if it should be patched in this repo, or at bindgen time, let me know

ivmarkov commented 2 months ago

CI fails though?

DavidVentura commented 2 months ago

My bad, forgot a cfg guard

ivmarkov commented 2 months ago

Thanks!