Commit Graph

13 Commits

Author SHA1 Message Date
Kat Marchán 6c859fb5cb
cargo fmt 2020-07-18 10:23:27 -07:00
Kat Marchán 39f8ecd055
mmap file writes and add unindexed writing to cache 2020-07-18 10:14:50 -07:00
Kat Marchán d41bb21a69
added write_hash function 2020-07-17 17:31:27 -07:00
Kat Marchán d748889d9f
added benchmarks for write 2020-07-17 17:10:26 -07:00
Kat Marchán 743476b274
feat(api): rewrite entire API to be like std::fs (#21)
Fixes: #13

BREAKING CHANGE: The entire API surface has been rewritten and overhauled. Instead of breaking up the package into get/put/rm/ls modules, everything is now available mostly through the toplevel module, following the same conventions as std:fs for its operations. Associated structs and other types have also been renamed. Please refer to the documentation for the new API, and I hope you find it more ergonomic!
2019-10-23 21:17:57 -07:00
Kat Marchán aec50e9b23
bench: add benchmarks for multiple reads 2019-10-18 00:33:48 -04:00
Kat Marchán 398773547b
benchmarks: add baseline comparison benchmarks for regular i/o 2019-10-17 22:24:24 -04:00
Kat Marchán 662aea9b5a feat(async): reorganize async APIs to be the primary APIs
BREAKING CHANGE: the async_* namespaces are gone, and all the previously-sync APIs (get::data, put::data, etc), are all suffixed with _sync now. You'll need to adjust your usage accordingly.
2019-10-17 18:25:20 -04:00
Kat Marchán b02f41e07f feat(api): get::read -> get::data
This should improve the ergonomics a bit by being more symmetrical with put

BREAKING CHANGE: The `get` API now uses "data" instead of "read" as the "verb". You will need to change anything that used get::read/hash/etc to use "data" now.
2019-10-17 18:25:20 -04:00
Kat Marchán 18190bfc35
feat(async): add extra async versions of APIs (#6) 2019-10-13 20:06:20 -04:00
Kat Marchán 473473e6b2
feat(license): relicense under MPL-2.0 (#8)
BREAKING CHANGE: The license terms have changed. Please refer to LICENSE in the root of this repository for details. Future use of this library may require release of source code for any changes applied to it.
2019-09-06 21:39:36 -07:00
Kat Marchán bc56a1b3fe
fix(fmt): cargo fmt 2019-06-26 21:41:44 -07:00
Kat Marchán 5a57d46b3f
test: added basic benchmark test 2019-06-07 01:32:39 -07:00