Crates.io | zung_mini |
lib.rs | zung_mini |
version | 0.4.0 |
source | src |
created_at | 2024-09-30 06:50:15.41153 |
updated_at | 2024-10-10 19:41:20.486254 |
description | Mini rust projects that target specific features of rust |
homepage | |
repository | https://github.com/ishaan26/zung |
max_upload_size | |
id | 1391386 |
size | 60,863 |
This Library consists of varouis small rust projects that target different features of rust such as traits, lifetimes, type system etc. Each project is separated out in different modules as listed out in Table of Contents below.
This library is part of the zung family.
Install the zung binary with cargo install zung
to try out some of the features of this
library.
This library is intended for learning purposes only. While I will do my best to write the most professional code I can (with my limited coding knowledge), it is not my intention for this library to be used in any production environment.
Ateast not yet...
Implementation of a progress bar over iterators based on "Type-Driven API Design in Rust" by Will Crichton
The ProgBar
module is a lightweight and customizable progress bar library for Rust iterators. It allows you to easily track the progress of any iterator in your terminal with visual feedback. Whether your iterator is bounded (has a known size) or unbounded (infinite loop), ProgBar
adapts to display the progress accordingly.
A custom string splitting utility targeting lifetimes in rust following Crust of Rust: Lifetime Annotations
The Strsplit
module provides an efficient, iterator-based string splitting utility for Rust. It extends both String
and &str
types with a strsplit
method, allowing users to split strings based on a specified delimiter and iterate over the resulting substrings lazily or collect them all at once. This is particularly useful when you need efficient and flexible string splitting behavior.
_ Implementation of custom sorting algorithms along with a benchmark following Crust of Rust: Sorting Algorithms
The Orst
module provides an custom implementations of sorting algorithms along with a simple algorithm.
See the docs for how to use each module of this library.