Overview of esp-idf-svc
masterThe esp-idf-svc crate provides safe Rust wrappers for the services available in the ESP-IDF SDK. It is designed for developers working with the ESP-IDF framework (which uses the standard library std) rather than bare-metal no_std environments.
Key features include:
- Service Support: Covers timers, event loop, WiFi, Ethernet, HTTP client & server, MQTT, WebSockets (WS), NVS, OTA, and more.
- Trait Implementation: Implements traits from the
embedded-svccrate for ecosystem compatibility. - Execution Modes: Supports both blocking and
asyncmodes for services whereasyncis feasible. - Unified Dependency: Re-exports
esp-idf-hal(asesp_idf_svc::hal) andesp-idf-sys(asesp_idf_svc::sys), allowing you to use a single dependency for most ESP-IDF-based Rust development.