Skip to content

polymorphic, type-safe, composable interface for arbitrary stores

Notifications You must be signed in to change notification settings

valyagolev/anystore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

polymorphic, type-safe, composable interface for arbitrary stores

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published