Expand description
nander-rs library
This library provides functionality for programming SPI NAND/NOR Flash chips using hardware programmers like CH341A.
§Architecture
The library is organized into layered architecture:
domain: Core business logic and typesapplication: Use cases and business rulesinfrastructure: Technology-specific implementations (Programmers, Database)presentation: User interfaces (CLI)error: Error types and handling
§Example
use nander_rs::presentation::cli::args::Args; use nander_rs::presentation::cli; use clap::Parser;
// Parse and execute let args = Args::parse(); if let Err(e) = cli::execute(args) { eprintln!(“Error: {}”, e); }
Re-exports§
Modules§
- application
- Application Layer
- domain
- Domain Layer - Core Business Logic
- error
- Error types for nander-rs
- infrastructure
- Infrastructure Layer
- presentation
- Presentation Layer