MCPcopy Index your code
hub / github.com/esp-rs/embedded-svc

github.com/esp-rs/embedded-svc @v0.29.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.29.0 ↗ · + Follow
266 symbols 388 edges 18 files 2 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rust APIs and abstractions for embedded services

CI crates.io Documentation Matrix

This crate ships traits for embedded features such as wifi, networking, httpd, logging. The intended use is for concrete implementations to use the traits provided in this crate as a common base. This would eventually lead to a portable embedded ecosystem. The APIs currently have a single implementation for the ESP32[-XX] / ESP-IDF. However, they are meant to be portable and should be possible to implement for other boards too.

For more information, check out: * The Rust on ESP Book * The esp-idf-svc project * The esp-idf-template project * The esp-idf-sys project * The esp-idf-hal project * The Rust for Xtensa toolchain * The Rust-with-STD demo project

Extension points exported contracts — how you extend this code

ErrorType (Interface)
(no doc) [12 implementers]
src/mqtt/client.rs
Handler (Interface)
(no doc) [5 implementers]
src/http/server.rs
Status (Interface)
(no doc) [4 implementers]
src/http.rs
Acceptor (Interface)
(no doc) [4 implementers]
src/ws.rs
ErrorType (Interface)
(no doc) [2 implementers]
src/channel.rs
Eth (Interface)
(no doc) [2 implementers]
src/eth.rs
Wifi (Interface)
(no doc) [2 implementers]
src/wifi.rs
Ota (Interface)
(no doc) [2 implementers]
src/ota.rs

Core symbols most depended-on inside this repo

get
called by 9
src/utils/http.rs
header
called by 8
src/http.rs
set
called by 8
src/utils/http.rs
request
called by 8
src/utils/http.rs
request
called by 8
src/http/client.rs
into_response
called by 4
src/http/server.rs
read
called by 4
src/http/server.rs
is_response_initiated
called by 4
src/http/server.rs

Shape

Method 164
Interface 32
Class 27
Function 23
Enum 20

Languages

Rust100%

Modules by API surface

src/utils/http.rs45 symbols
src/wifi.rs32 symbols
src/http.rs32 symbols
src/http/server.rs26 symbols
src/http/client.rs25 symbols
src/ota.rs21 symbols
src/storage.rs20 symbols
src/ipv4.rs20 symbols
src/mqtt/client.rs18 symbols
src/ws.rs10 symbols
src/utils/io.rs7 symbols
src/eth.rs5 symbols

For agents

$ claude mcp add embedded-svc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact