pub mod chips;
pub mod error;
pub mod hexdump;
#[cfg(not(target_arch = "wasm32"))]
pub mod image;
#[cfg(not(target_arch = "wasm32"))]
pub mod device;
#[cfg(not(target_arch = "wasm32"))]
pub mod firmware;
#[cfg(not(target_arch = "wasm32"))]
pub mod fpga;
#[cfg(not(target_arch = "wasm32"))]
pub mod sdram;
#[cfg(not(target_arch = "wasm32"))]
pub mod spi;
#[cfg(not(target_arch = "wasm32"))]
pub mod system;
#[cfg(not(target_arch = "wasm32"))]
pub mod trace;
#[cfg(not(target_arch = "wasm32"))]
pub mod usb;
#[cfg(feature = "cli")]
pub mod download;
#[cfg(feature = "cli")]
pub mod tar;
#[cfg(all(feature = "web", not(target_arch = "wasm32")))]
pub mod web;
#[cfg(target_arch = "wasm32")]
pub mod web_device;
#[cfg(target_arch = "wasm32")]
pub mod web_usb;
pub use chips::{ChipDatabase, ChipDesc, parse_dcfg};
pub use error::{Error, Result};
#[cfg(not(target_arch = "wasm32"))]
pub use device::{DebugInfo, DeviceInfo, Em100, HoldPinState, HwVersion, Voltages, list_devices};
#[cfg(not(target_arch = "wasm32"))]
pub use firmware::{
FirmwareInfo, firmware_read, firmware_to_dpfw, firmware_write, validate_firmware,
};
#[cfg(not(target_arch = "wasm32"))]
pub use sdram::{ProgressCallback, read_sdram_with_progress, write_sdram_with_progress};