quick_sort_yq 0.1.3

A sample quick sort algorithm
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 1.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.0 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • netqyq

Quick Sort Algorithm

1. In your Cargo.toml, set the dependencies:

[dependencies]
quick_sort_yq = "0.1.2"
# ...existing fields...

Now, others can add your crate as a dependency and use quick_sort_yq::quick_sort.

2. Update main.rs to use your library:

use quick_sort_yq::quick_sort;

fn main() {
    let mut arr = [3, 6, 8, 10, 1, 2, 1, 80];
    println!("Before: {:?}", arr);
    quick_sort(&mut arr);
    println!("After:  {:?}", arr);
}