anystore

Crates.ioanystore
lib.rsanystore
version0.2.1
sourcesrc
created_at2023-01-13 18:02:35.812527
updated_at2023-09-29 19:06:48.784838
descriptionPolymorphic, type-safe, composable async API for arbitrary stores
homepagehttps://github.com/valyagolev/anystore
repositoryhttps://github.com/valyagolev/anystore
max_upload_size
id758087
size134,427
Valentin Golev (valyagolev)

documentation

https://docs.rs/anystore

README

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.

Commit count: 64

cargo fmt