# 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"
rust-version = "1.63"
name = "deadpool-diesel"
version = "0.5.0"
authors = ["Michael P. Jung <michael.jung@terreon.de>"]
description = "Dead simple async pool for diesel"
readme = "README.md"
keywords = [
    "async",
    "database",
    "pool",
    "diesel",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bikeshedder/deadpool"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.deadpool]
version = "0.10.0"
features = ["managed"]
default-features = false

[dependencies.deadpool-sync]
version = "0.1.1"

[dependencies.diesel]
version = "2.0.0"
default-features = false

[dev-dependencies.diesel]
version = "2.0.0"
features = ["sqlite"]
default-features = false

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]

[features]
default = ["rt_tokio_1"]
mysql = ["diesel/mysql"]
postgres = ["diesel/postgres"]
rt_async-std_1 = ["deadpool/rt_async-std_1"]
rt_tokio_1 = ["deadpool/rt_tokio_1"]
serde = ["deadpool/serde"]
sqlite = ["diesel/sqlite"]
tracing = ["deadpool-sync/tracing"]
