Generate Report
generate-report is a minimal crate that defines a trait for generating reports. The trait, GenerateReport, allows you to standardize report creation by specifying associated types for the report output and any errors that might occur during report generation.
Features
- Lightweight Interface: A single trait that you can implement for your own types.
- Flexible: Use associated types to tailor the report and error types to your application.
- Easy Integration: Designed to fit into larger systems that require a reporting interface.
Usage
Add generate-report to your Cargo.toml dependencies:
[]
= "0.1.0"
Implement the trait for your custom type:
use GenerateReport;
;
License
This project is dual-licensed under either the MIT license or the Apache License, Version 2.0, at your option.
Contributing
Contributions are welcome! Please check out the repository for details.