# 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 = "2021" rust-version = "1.78.0" name = "diesel-async" version = "0.5.1" authors = ["Georg Semmler "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An async extension for Diesel the safe, extensible ORM and Query Builder" readme = "README.md" keywords = [ "orm", "database", "sql", "async", ] categories = ["database"] license = "MIT OR Apache-2.0" repository = "https://github.com/weiznich/diesel_async" [package.metadata.docs.rs] features = [ "postgres", "mysql", "sqlite", "deadpool", "bb8", "mobc", "async-connection-wrapper", "sync-connection-wrapper", "r2d2", ] no-default-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "diesel_async" path = "src/lib.rs" [[test]] name = "integration_tests" path = "tests/lib.rs" harness = true [dependencies.async-trait] version = "0.1.66" [dependencies.bb8] version = "0.8" optional = true [dependencies.deadpool] version = "0.12" features = ["managed"] optional = true default-features = false [dependencies.diesel] version = "~2.2.0" features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"] default-features = false [dependencies.futures-channel] version = "0.3.17" features = [ "std", "sink", ] optional = true default-features = false [dependencies.futures-util] version = "0.3.17" features = [ "std", "sink", ] default-features = false [dependencies.mobc] version = ">=0.7,<0.10" optional = true [dependencies.mysql_async] version = "0.34" features = ["minimal-rust"] optional = true default-features = false [dependencies.mysql_common] version = "0.32" optional = true default-features = false [dependencies.scoped-futures] version = "0.1" features = ["std"] [dependencies.tokio] version = "1.26" optional = true [dependencies.tokio-postgres] version = "0.7.10" optional = true [dev-dependencies.assert_matches] version = "1.0.1" [dev-dependencies.cfg-if] version = "1" [dev-dependencies.chrono] version = "0.4" [dev-dependencies.diesel] version = "2.2.0" features = ["chrono"] default-features = false [dev-dependencies.diesel_migrations] version = "2.2.0" [dev-dependencies.tokio] version = "1.12.0" features = [ "rt", "macros", "rt-multi-thread", ] [features] async-connection-wrapper = ["tokio/net"] bb8 = [ "pool", "dep:bb8", ] deadpool = [ "pool", "dep:deadpool", ] default = [] mobc = [ "pool", "dep:mobc", ] mysql = [ "diesel/mysql_backend", "mysql_async", "mysql_common", "futures-channel", "tokio", ] pool = [] postgres = [ "diesel/postgres_backend", "tokio-postgres", "tokio", "tokio/rt", ] r2d2 = [ "pool", "diesel/r2d2", ] sqlite = [ "diesel/sqlite", "sync-connection-wrapper", ] sync-connection-wrapper = ["tokio/rt"]