File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
- #![ doc = include_str ! ( "../README.md" ) ]
1
+ //! The tiny_sort crate provides two sort implementations [`stable::sort`] and [`unstable::sort`].
2
+ //! The crate is `no_std` and both versions can be disabled via features, by setting
3
+ //! `default-features = false`. [`stable::sort`] requires `alloc`, [`unstable::sort`] doesn't. In
4
+ //! addition to the default sort interface that requires that `T` implements [`Ord`],
5
+ //! [`stable::sort_by`] [`unstable::sort_by`] can be used to sort with a custom comparison function.
6
+ //!
7
+ //! Use these sort implementations if you care about binary-size more than you care about
8
+ //! performance. Otherwise use `slice::sort` and `slice::sort_unstable`.
9
+ //!
10
+ //! See the [README](https://github.com/Voultapher/tiny-sort-rs) for information about binary-size
11
+ //! and run-time.
12
+
2
13
#![ no_std]
3
14
4
15
#[ cfg( feature = "stable" ) ]
You can’t perform that action at this time.
0 commit comments