nanoflash 0.1.2

Lay out the flash of ESP32 and Arduino boards and write firmware to them through their bootloaders, natively or in the browser over Web Serial.
Documentation
//! Lay out flash and write firmware to microcontroller boards of any vendor, through one API.
//!
//! One layout file per board gives the flash size and the named partitions with a role;
//! nanoflash computes the offsets, checks alignment, overlap and size, and reports the headroom
//! of every partition.

#![no_std]
#![forbid(unsafe_code)]

extern crate alloc;

#[cfg(feature = "avr")]
pub mod avr;
#[cfg(feature = "flash")]
pub mod backend;
#[cfg(feature = "cargo")]
pub mod cargo;
#[cfg(feature = "flash")]
pub mod error;
#[cfg(feature = "espressif")]
pub mod espressif;
#[cfg(feature = "flash")]
pub mod flash;
pub mod layout;
pub mod manifest;
#[cfg(feature = "native")]
pub mod native;
pub mod quantity;
#[cfg(feature = "samba")]
pub mod samba;
#[cfg(any(
    feature = "table-espressif",
    feature = "table-mbr",
    feature = "table-linker"
))]
pub mod table;
#[cfg(feature = "testing")]
pub mod testing;
#[cfg(any(feature = "samba", feature = "avr"))]
pub(crate) mod touch;
pub mod transport;
#[cfg(feature = "web")]
pub mod web;

#[cfg(feature = "flash")]
pub use error::{Error, ErrorClass};

#[cfg(feature = "build")]
pub mod build;

#[cfg(any(test, feature = "build", feature = "cargo", feature = "native"))]
extern crate std;