asynchronous and synchronous interfaces and persistence implementations for your OOD architecture
This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2021-10-22 00:18:37 +03:00
.vscode feat: add r2d2_sqlite feature 2021-10-21 22:59:59 +03:00
examples chore: rename error type and reexport error types 2021-10-21 23:56:47 +03:00
src chore: remove unused error mod 2021-10-22 00:18:37 +03:00
.gitignore feat: add transactions 2021-10-17 15:13:01 +03:00
Cargo.lock feat: add r2d2_sqlite feature 2021-10-21 22:59:59 +03:00
Cargo.toml feat: add r2d2_sqlite feature 2021-10-21 22:59:59 +03:00
README.md chore: add info about contributors 2021-10-21 23:58:45 +03:00
rust-toolchain.toml feat: add transactions 2021-10-17 15:13:01 +03:00

OOD Persistence

Crates.io Documentation unsafe forbidden

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.