asynchronous and synchronous interfaces and persistence implementations for your OOD architecture
architectureasyncdatabaseimplementationsinterfacesoodpatternspersistenceprinciplesrust-patternssolidsync
.vscode | ||
examples | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
rust-toolchain.toml |
OOD Persistence
Asynchronous and synchronous interfaces and persistence implementations for your OOD architecture
Installation
Add ood_persistence = { version = "0", features = ["<IMPLEMENTATION_NAME>"] }
as a dependency in Cargo.toml
.
NOTE: change <IMPLEMENTATION_NAME>
to feature name from available list. See Cargo.toml
for more information.
Cargo.toml
example:
[package]
name = "my-crate"
version = "0.1.0"
authors = ["Me <user@rust-lang.org>"]
[dependencies]
ood_persistence = { version = "0", features = ["bb8_postgres"] }
In stable rust channel you can use only connection interface, but if you use nightly channel, add an additional
"nightly" feature to your Cargo.toml
and you can use transactions as well.
Usage
See examples directory.
Contributors
pleshevskiy (Dmitriy Pleshevskiy) – creator, maintainer.