Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcygan/lib-wc
A simple rust library
https://github.com/wcygan/lib-wc
algorithms benchmarking cargo-fuzz concurrency concurrent-data-structure criterion data-structures fuzzing property-based-testing rust rust-crate rust-lang rust-library tokio tokio-rs
Last synced: about 1 month ago
JSON representation
A simple rust library
- Host: GitHub
- URL: https://github.com/wcygan/lib-wc
- Owner: wcygan
- Created: 2022-05-21T04:37:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T05:31:09.000Z (over 1 year ago)
- Last Synced: 2024-10-07T12:54:00.468Z (3 months ago)
- Topics: algorithms, benchmarking, cargo-fuzz, concurrency, concurrent-data-structure, criterion, data-structures, fuzzing, property-based-testing, rust, rust-crate, rust-lang, rust-library, tokio, tokio-rs
- Language: Rust
- Homepage: https://docs.rs/lib-wc
- Size: 309 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [lib-wc](https://docs.rs/lib-wc/)
[](https://github.com/wcygan/lib-wc)
[](https://crates.io/crates/lib-wc)
[](https://docs.rs/lib-wc)
[](https://github.com/wcygan/lib-wc/actions?query=branch%3Amaster)Learning how to write a library in Rust by implementing "stuff"
## Testing
### Run the tests
```bash
$ cargo test
```or
```bash
$ cargo test --all-features
```### Run the benchmarks
```bash
$ cargo bench --all-features
```### Run the fuzz tests
hint: you can use `cargo fuzz list` to see the available fuzz targets
You need to use nightly Rust to run the fuzz tests:
```bash
$ cargo +nightly fuzz run
```Example:
```bash
$ cargo +nightly fuzz run quicksort
```## Addendum
I have a variety of [experiments](./experiments/) in this repository that I use to learn about Rust & various crates; they are runnable examples which showcase interesting concepts.