1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*!
It is a library that provides various sorting functions.

## install
If cargo-edit is installed, you can install it like this:
```sh
cargo add buldak
```
If not, you have to manually add the dependency to Cargo.toml.
```toml
[dependencies]
buldak = "0.14.1"
```

## use
If you have performed the installation process well,
you can sort by passing the values ​​in an array format as follows.
```rust
use buldak::*;

fn main()
{
    let mut nums = [6, 34, 3, 1, 2];
    bubble::sort(&mut nums);
    println!("{:?}", nums);
}
```

## features
- bubble sort
- smart bubble sort
- cocktail shaker sort
- selection sort
- double selection sort
- insertion sort
- stooge sort
- gnome sort
- comb sort
- quick sort
- merge sort
- heap sort
- counting sort
- radix sort
- bogo sort
- ... more later

## link
- [document](https://docs.rs/buldak)
- [repository](https://github.com/myyrakle/buldak)
*/

#[path = "lib/bubble.rs"]
pub mod bubble;

#[path = "lib/smart_bubble.rs"]
pub mod smart_bubble;

#[path = "lib/cocktail_shaker.rs"]
pub mod cocktail_shaker;

#[path = "lib/selection.rs"]
pub mod selection;

#[path = "lib/insertion.rs"]
pub mod insertion;

#[path = "lib/double_selection.rs"]
pub mod double_selection;

#[path = "lib/stooge.rs"]
pub mod stooge;

#[path = "lib/gnome.rs"]
pub mod gnome;

#[path = "lib/comb.rs"]
pub mod comb;

#[path = "lib/quick.rs"]
pub mod quick;

#[path = "lib/merge.rs"]
pub mod merge;

#[path = "lib/heap.rs"]
pub mod heap;

#[path = "lib/counting.rs"]
pub mod counting;

#[path = "lib/radix.rs"]
pub mod radix;

#[path = "lib/bogo.rs"]
pub mod bogo;