Skip to main content

Crate rusty_esp_iroh_esp

Crate rusty_esp_iroh_esp 

Source
Expand description

rusty_esp_iroh-esp — what a chip adds to the std node.

iroh runs on Track A only (std on ESP-IDF, the configuration n0 proved). The node and client are rusty_esp_iroh-host, unchanged; this crate holds the ESP-IDF specifics: registering eventfd so tokio’s I/O driver works, SNTP before any TLS, the mDNS advertisement the home computer’s pair client browses for, and the identity loaded from NVS through rusty_esp_mid-esp.

unsafe is denied crate-wide; the one FFI call (esp_vfs_eventfd_register) opts in per block with a // SAFETY: comment.

The esp-hal feature is not iroh on bare metal (there is none): it is [hal], the two-slot OTA sink and the “this image works” mark the core’s update session needs on a no_std chip.

Re-exports§

pub use rusty_esp_iroh_core as core;

Enums§

Track
Which track this build of the crate was compiled for.

Constants§

TRACK
The track this crate was built with.