parth10606_first_crate

Crates.ioparth10606_first_crate
lib.rsparth10606_first_crate
version0.1.1
created_at2025-07-20 14:43:55.13341+00
updated_at2025-07-20 14:55:00.281311+00
descriptionA test lib for publishing
homepage
repository
max_upload_size
id1761135
size13,821
Parth Patil (parth10606)

documentation

README

parth10606_first_crate

Crates.io Docs.rs License: MIT

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:

[dependencies]
parth10606_first_crate = "0.1"

๐Ÿš€ Quick Start

use parth10606_first_crate::utils::math::add;

fn main() {
    let result = add(10, 5);
    println!("10 + 5 = {}", result);
}

๐Ÿ“š Documentation

View full documentation at docs.rs/parth10606_first_crate

To build locally:

cargo doc --open

๐Ÿ“ Examples

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"));
//! ```

๐Ÿงช Testing

To run all tests (unit + integration + doc):

cargo test

โœ… Roadmap

  • Modular folder structure
  • Unit + doc + integration tests
  • Clean lib.rs exports
  • 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.


๐Ÿ”— Links

Commit count: 0

cargo fmt