# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "ood_persistence" version = "0.3.1" authors = ["Dmitriy Pleshevskiy "] description = "Asynchronous and synchronous interfaces and persistence implementations for your OOD architecture" keywords = ["objected", "design", "architecture", "interface", "implementation"] categories = ["rust-patterns", "database", "database-implementations"] license = "MIT OR Apache-2.0" repository = "https://github.com/pleshevskiy/ood_persistence" [package.metadata.docs.rs] all-features = true [[example]] name = "simple" required-features = ["r2d2_postgres"] [[example]] name = "transaction" required-features = ["r2d2_postgres", "nightly"] [dependencies.async-trait] version = "0.1" optional = true [dependencies.bb8] version = "0.7" optional = true [dependencies.bb8-postgres] version = "0.7" optional = true [dependencies.r2d2] version = "0.8" optional = true [dependencies.r2d2-mysql] version = "18.0" optional = true package = "r2d2_mysql" [dependencies.r2d2-postgres] version = "0.18" optional = true package = "r2d2_postgres" [dependencies.r2d2-sqlite] version = "0.19" optional = true package = "r2d2_sqlite" [features] async = ["async-trait"] bb8_postgres = ["async", "bb8", "bb8-postgres"] nightly = [] r2d2_mysql = ["sync", "r2d2", "r2d2-mysql"] r2d2_postgres = ["sync", "r2d2", "r2d2-postgres"] r2d2_sqlite = ["sync", "r2d2", "r2d2-sqlite"] sync = []