#storage #distributed #database #data #networking

bytecon_data_store

A library for storing ByteConverter implementations conveniently

2 releases

0.1.1 Nov 22, 2024
0.1.0 Nov 17, 2024

#120 in Caching

Download history 75/week @ 2024-11-12 175/week @ 2024-11-19 15/week @ 2024-11-26

265 downloads per month

MIT/Apache

64KB
1.5K SLoC

bytecon_data_store

This library contains a DataStore trait for interacting with data storage generally along with a few different specific implementations.

Features

  • The ability to send anything that implements ByteConverter to storage while also being easily retrievable.
  • Postgres support via the "postgres" feature.
  • Direct-to-file support via the "directory" feature.
  • Client/server support via the "remote" feature.
  • Convenient ByteConDataStore for sending ByteConverter instances into any DataStore that sends Vec<u8>.

Usage

You will want to convert your ByteConverter instances to Vec<u8> to utilize the existing implementations. This design choice was made to allow for your ByteConverter-implementing structs to not need to implement Send or Sync.

Dependencies

~2–18MB
~257K SLoC