https://github.com/valyagolev/anystore
polymorphic, type-safe, composable interface for arbitrary stores
https://github.com/valyagolev/anystore
database rust
Last synced: about 2 months ago
JSON representation
polymorphic, type-safe, composable interface for arbitrary stores
- Host: GitHub
- URL: https://github.com/valyagolev/anystore
- Owner: valyagolev
- Created: 2023-01-13T11:35:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T19:06:25.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T17:39:14.614Z (over 1 year ago)
- Topics: database, rust
- Language: Rust
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# anystore
[](https://crates.io/crates/anystore) [](https://docs.rs/anystore)
`anystore` is a polymorphic, type-safe, composable async framework for specifying API for arbitrary stores
(including databases and configuration systems). It supports addressing arbitrary type-safe hierarchies of objects.
It is best used for prototyping and configuration. It is especially good for situations when a storage system is needed,
but it's not very important, and you want to be able to change the storage provider quickly, in case the requirements change.
It is good for when you don't want to learn _yet another API_. (It also might be good if you don't want to invent _yet another API_, as it gives enough structure, primitives and utils to help you build a decent client.)
It is not indended to be used when you need high performance or reliability.
**This crate is nightly-only**. It heavily depends on `async_fn_in_trait` feature, which is not stable yet.
# Testing
To test the cloud integrations:
% cargo test --all-features -- --include-ignored
You'll have to populate your .env file.