| Crates.io | rstdev-storage |
| lib.rs | rstdev-storage |
| version | 0.3.6 |
| created_at | 2024-03-09 13:32:16.912876+00 |
| updated_at | 2024-07-14 15:51:51.398218+00 |
| description | A library to manage external storage database instance and connection |
| homepage | |
| repository | https://github.com/rstlix0x0/rstdev/rstdev-storage |
| max_upload_size | |
| id | 1167818 |
| size | 37,202 |
A rstdev-storage is a library that provide a base abstraction for any
external storages including for it's implementations.
The main purpose of this library is to provide a base layer of abstraction
that designed to be working side-by-side with the object that implement Repository Pattern.
Current supported storage engines:
INFO
For all SQL storage implementations, it will using sqlx library
[dependencies]
rstdev-storage = {version = "0.3.0"}
mysql, will only install and load base sqlx library with runtime-tokio and mysql enabledpostgresql, will only install and load base sqlx library with runtime-tokio and posgres enabledrocksdb, will only install and load engine implementation of rust-rocksdbExample:
Want to install MySQL (or PostgreSQL) engine implementation
[dependencies]
rstdev-storage = {version = "0.3.6", features = ["mysql"]}
Want to install RocksDB engine implementation
[dependencies]
rstdev-storage = {version = "0.3.6", features = ["rocksdb"]}