forceps

Crates.ioforceps
lib.rsforceps
version0.4.1
sourcesrc
created_at2021-04-26 03:43:02.640553
updated_at2023-10-31 01:41:05.897929
descriptionAn easy-to-use async & on-disk database
homepage
repositoryhttps://github.com/blockba5her/forceps
max_upload_size
id389576
size66,703
(DevBlocky)

documentation

README

Forceps

docs.rs crates.io CI

The easy-to-use and asynchronous solution for your tokio project


forceps is made to be an easy-to-use, thread-safe, performant, and asynchronous disk cache that has easy reading and manipulation of data. It levereges tokio's async fs APIs and fast task schedulers to perform IO operations, and sled as a fast metadata database.

It was originally designed to be used in scalpel, the MD@Home implementation for the Rust language.

Instability Warning

Just as a warning, this crate is still yet to be heavily tested and is still lacking features. It is advisable to use another solution if you have the option!

Features

  • Asynchronous APIs
  • Fast and reliable reading/writing
  • Tuned for large-file databases
  • Included cache eviction (LRU/FIFO)
  • Easily accessible value metadata
  • Optimized for cache HITs
  • Easy error handling
  • bytes crate support (non-optional)

Planned Features

  • Toggleable in-memory LRU cache
  • Optional tracking of last-access timestamps
  • Built-in cache integrity checks

Documentation

All documentation for this project can be found at docs.rs.

License

This project is licensed under the MIT license. Please see LICENSE for more information.

Commit count: 39

cargo fmt