parth10606_first_crate
A modular, production-ready Rust crate that demonstrates clean project architecture, reusable utilities, and core logic.
โจ Features
- ๐ง Core Modules โ Includes logic processors under
core/ - ๐ข Math Utilities โ Handy numeric functions like addition, subtraction, etc.
- ๐ค String Utilities โ Functions to manipulate and format strings
- ๐
Date Utilities โ Smart date formatting powered by
chrono - ๐งช Well-tested โ Unit tests, doctests, and integration tests across all modules
๐ฆ Installation
Add this to your Cargo.toml:
[]
= "0.1"
๐ Quick Start
use add;
๐ Documentation
View full documentation at docs.rs/parth10606_first_crate
To build locally:
๐ Examples
This crate includes runnable examples in the examples/ folder.
To run an example:
To reference an example in documentation:
//! ```no_run
//! // See examples/usage.rs
//! use parth10606_first_crate::utils::string::reverse;
//! println!("{}", reverse("hello"));
//! ```
๐งช Testing
To run all tests (unit + integration + doc):
โ Roadmap
- Modular folder structure
- Unit + doc + integration tests
- Clean
lib.rsexports - Examples for users
- Add more real-world use cases
- Publish to crates.io
๐ฅ Contributing
Pull requests, bug reports, and suggestions are welcome!
Open an issue or fork and submit a PR.
๐ License
This project is licensed under the MIT License.