szafka
Asynchronous persistent data store in Rust.
Usage
Basic usage:
async
More information can be found in the documentation
Tests
All tests: cargo test
.
Documentation tests: cargo test --doc
.
Unit tests: cargo test --tests
.
Check code coverage using tarpaulin.
cargo tarpaulin --lib
Jun 21 02:05:24.123 INFO report: Coverage Results:
||
88.61% coverage, 70/79 lines covered, +0% change in coverage
Benchmarks
Run benchmarks using cargo bench
.
Results from my Dell XPS 7390 machine with Intel i7-10510U, NVMe, Linux 5.10
save time: [24.651 us 24.757 us 24.861 us]
get time: [34.889 us 35.863 us 36.809 us]
Why
I needed to store persistant data such as bearer tokens or cached data somewhere for Houseflow CLI App