{"id":14110206,"url":"https://github.com/esp-rs/esp-idf-svc","last_synced_at":"2025-05-14T07:09:09.425Z","repository":{"id":37013147,"uuid":"328426455","full_name":"esp-rs/esp-idf-svc","owner":"esp-rs","description":"Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)","archived":false,"fork":false,"pushed_at":"2025-05-05T16:11:29.000Z","size":30633,"stargazers_count":394,"open_issues_count":57,"forks_count":210,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-05T17:37:32.162Z","etag":null,"topics":["embedded","esp32","rust"],"latest_commit_sha":null,"homepage":"https://docs.esp-rs.org/esp-idf-svc/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esp-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-10T16:24:16.000Z","updated_at":"2025-05-05T16:11:32.000Z","dependencies_parsed_at":"2023-09-23T19:11:20.640Z","dependency_job_id":"bc84d827-c2e3-4504-9978-f83a9f8aa0bf","html_url":"https://github.com/esp-rs/esp-idf-svc","commit_stats":{"total_commits":801,"total_committers":94,"mean_commits":8.52127659574468,"dds":"0.28464419475655434","last_synced_commit":"7cf3a9ac4a43c8eba6ead60321e53019a9e3564b"},"previous_names":[],"tags_count":76,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esp-rs%2Fesp-idf-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esp-rs%2Fesp-idf-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esp-rs%2Fesp-idf-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esp-rs%2Fesp-idf-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esp-rs","download_url":"https://codeload.github.com/esp-rs/esp-idf-svc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092776,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded","esp32","rust"],"created_at":"2024-08-14T10:02:43.080Z","updated_at":"2025-05-14T07:09:04.408Z","avatar_url":"https://github.com/esp-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Safe Rust wrappers for the services in the [ESP IDF SDK](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/)\n\n[![CI](https://github.com/esp-rs/esp-idf-svc/actions/workflows/ci.yml/badge.svg)](https://github.com/esp-rs/esp-idf-svc/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/esp-idf-svc.svg)](https://crates.io/crates/esp-idf-svc)\n[![Documentation](https://img.shields.io/badge/docs-esp--rs-brightgreen)](https://esp-rs.github.io/esp-idf-svc/esp_idf_svc/index.html)\n[![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix\u0026color=BEC5C9\u0026logo=matrix)](https://matrix.to/#/#esp-rs:matrix.org)\n[![Wokwi](https://img.shields.io/endpoint?url=https%3A%2F%2Fwokwi.com%2Fbadge%2Fclick-to-simulate.json)](https://wokwi.com/projects/332188235906155092)\n\n## Highlights\n\n* Supports almost all ESP IDF services: timers, event loop, Wifi, Ethernet, HTTP client \u0026 server, MQTT, WS, NVS, OTA, etc.\n* Implements the traits of [embedded-svc](https://github.com/esp-rs/embedded-svc)\n* Blocking and `async` mode for each service (`async` support where feasible)\n* Re-exports `esp-idf-hal` and `esp-idf-sys` as `esp_idf_svc::hal` and `esp_idf_svc::sys`. You only need to depend on `esp_idf_svc` to get everything you need\n\n**You might want to also check out the ESP IDF [Drivers](https://github.com/esp-rs/esp-idf-hal) wrappers, and the raw bindings to ESP IDF in the [esp-idf-sys](https://github.com/esp-rs/esp-idf-sys) crate!**\n\n## Build Prerequisites\n\nFollow the [Prerequisites](https://github.com/esp-rs/esp-idf-template#prerequisites) section in the `esp-idf-template` crate.\n\n## Examples\n\nThe examples could be built and flashed conveniently with [`cargo-espflash`](https://github.com/esp-rs/espflash/). To run e.g. `wifi` on an e.g. ESP32-C3:\n(Swap the Rust target and example name with the target corresponding for your ESP32 MCU and with the example you would like to build)\n\nwith `cargo-espflash`:\n```sh\n$ MCU=esp32c3 cargo espflash flash --target riscv32imc-esp-espidf --example wifi --monitor\n```\n\n| MCU | \"--target\" |\n| --- | ------ |\n| esp32c2 | riscv32imc-esp-espidf |\n| esp32c3| riscv32imc-esp-espidf |\n| esp32c6| riscv32imac-esp-espidf |\n| esp32h2 | riscv32imac-esp-espidf |\n| esp32p4 | riscv32imafc-esp-espidf |\n| esp32 | xtensa-esp32-espidf |\n| esp32s2 | xtensa-esp32s2-espidf |\n| esp32s3 | xtensa-esp32s3-espidf |\n\n\n## Setting up a \"Hello, world!\" binary crate with ESP IDF\n\nUse the [esp-idf-template](https://github.com/esp-rs/esp-idf-template) project. Everything would be arranged and built for you automatically - no need to manually clone the ESP IDF repository.\n\n## More information\n\nFor more information, check out:\n* The [Rust on ESP Book](https://esp-rs.github.io/book/)\n* The [ESP Embedded Training](https://github.com/esp-rs/espressif-trainings)\n* The [esp-idf-template](https://github.com/esp-rs/esp-idf-template) project\n* The [embedded-svc](https://github.com/esp-rs/embedded-svc) project\n* The [esp-idf-hal](https://github.com/esp-rs/esp-idf-hal) project\n* The [embedded-hal](https://github.com/rust-embedded/embedded-hal) project\n* The [esp-idf-sys](https://github.com/esp-rs/esp-idf-sys) project\n* The [Rust for Xtensa toolchain](https://github.com/esp-rs/rust-build)\n* The [Rust-with-STD demo](https://github.com/ivmarkov/rust-esp32-std-demo) project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesp-rs%2Fesp-idf-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesp-rs%2Fesp-idf-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesp-rs%2Fesp-idf-svc/lists"}