# 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 = "mobc" version = "0.8.5" authors = [ "importcjj ", "Garren Smith ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A generic connection pool with async/await support" documentation = "https://docs.rs/mobc/latest/mobc/" readme = "README.md" keywords = [ "database", "pool", "async", "await", ] categories = [ "asynchronous", "network-programming", ] license = "MIT/Apache-2.0" repository = "https://github.com/importcjj/mobc" [package.metadata.docs.rs] features = ["unstable"] rustdoc-args = [ "--cfg", 'feature="unstable"', ] [lib] name = "mobc" path = "src/lib.rs" [[example]] name = "actix-web" path = "examples/actix-web.rs" required-features = ["actix-rt"] [[example]] name = "foo_db" path = "examples/foo_db.rs" [[example]] name = "tide" path = "examples/tide.rs" required-features = ["async-std"] [[test]] name = "mobc" path = "tests/mobc.rs" [dependencies.actix-rt] version = "1" optional = true [dependencies.async-std] version = "1.0" features = ["unstable"] optional = true [dependencies.async-trait] version = "0.1" [dependencies.futures-channel] version = "0.3" features = ["sink"] [dependencies.futures-core] version = "0.3" [dependencies.futures-timer] version = "3.0.2" [dependencies.futures-util] version = "0.3" features = ["sink"] [dependencies.log] version = "0.4" [dependencies.metrics] version = "0.23.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "time", ] optional = true [dependencies.tracing] version = "0.1" features = ["attributes"] [dependencies.tracing-subscriber] version = "0.3.11" [dev-dependencies.actix-rt] version = "2" [dev-dependencies.actix-web] version = "4.2.1" [dev-dependencies.async-std] version = "1.0" features = ["attributes"] [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.tide] version = "0.16" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "tokio", "unstable", ] unstable = []