Expand description
§QRED
qred is a fast, light-footprint native QR code generator in Rust.
§Example
use qred::QrCode;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let qrcode = QrCode::new("[https://github.com/aether-flux/qred](https://github.com/aether-flux/qred)")?;
qrcode.save_image("output.png")?;
Ok(())
}Structs§
- QrCode
- Represents a generated QR code matrix ready for export.
- QrOptions
- Configurable options for QR code rendering (scale, quiet zone border, and colors).
Functions§
- parse_
hex_ color - Parses a hex color code (e.g.
"#1E1E2E") into Rgb, and errs otherwise.