| Crates.io | parth10606_first_crate |
| lib.rs | parth10606_first_crate |
| version | 0.1.1 |
| created_at | 2025-07-20 14:43:55.13341+00 |
| updated_at | 2025-07-20 14:55:00.281311+00 |
| description | A test lib for publishing |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1761135 |
| size | 13,821 |
A modular, production-ready Rust crate that demonstrates clean project architecture, reusable utilities, and core logic.
core/chronoAdd this to your Cargo.toml:
[dependencies]
parth10606_first_crate = "0.1"
use parth10606_first_crate::utils::math::add;
fn main() {
let result = add(10, 5);
println!("10 + 5 = {}", result);
}
View full documentation at docs.rs/parth10606_first_crate
To build locally:
cargo doc --open
This crate includes runnable examples in the examples/ folder.
To run an example:
cargo run --example math_usage.rs
To reference an example in documentation:
//! ```no_run
//! // See examples/usage.rs
//! use parth10606_first_crate::utils::string::reverse;
//! println!("{}", reverse("hello"));
//! ```
To run all tests (unit + integration + doc):
cargo test
lib.rs exportsPull requests, bug reports, and suggestions are welcome!
Open an issue or fork and submit a PR.
This project is licensed under the MIT License.