1 unstable release
new 0.1.0 | Nov 17, 2024 |
---|
#138 in Caching
66 downloads per month
61KB
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.
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
~254K SLoC