Commit Graph

11 Commits

Author SHA1 Message Date
str4d 34bc787de9
Merge pull request #4 from daira/release-0.1.0
Add CHANGELOG.md and release version 0.1.0.
2023-03-10 20:41:55 +00:00
Daira Emma Hopwood c3b69083ad Add CHANGELOG.md and release version 0.1.0.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-03-09 23:31:16 +00:00
str4d 83f43e814f
Merge pull request #3 from daira/add-tests
Add tests from the Rust stdlib
2023-03-09 00:04:31 +00:00
Daira Hopwood 6e8441ed6c Modify the tests to test quicksort from this crate.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-25 19:15:53 +00:00
Daira Hopwood e7efea652c Add src/rust_slice.rs containing the sort_unstable tests as they are in
the Rust 1.56.1 stdlib, modified minimally so that they compile.
(These test heapsort from this crate, but they still test sort_unstable
from the stdlib. We're going to modify them to test quicksort from this
crate in the next commit.)

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-25 19:08:59 +00:00
Daira Hopwood fe6d48ece3 Remove unused code.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-25 00:07:07 +00:00
Daira Hopwood bfcf54c5fa Change version temporarily to 0.0.0 in order to reserve the crate name.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-24 22:20:39 +00:00
Daira Hopwood a254a8c66c Make the behaviour on platforms with 32-bit usize match those with 64-bit usize.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-24 22:15:00 +00:00
Daira Hopwood 181c2ac09c Make it compile, and add a simple test.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-24 21:37:18 +00:00
Daira Hopwood cf79197673 Add https://raw.githubusercontent.com/rust-lang/rust/1.56.1/library/core/src/slice/sort.rs
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-24 21:28:21 +00:00
Daira Hopwood ff3683afde Initial commit: README, licenses, etc.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-24 21:18:55 +00:00