1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# 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.75"
name = "bb8"
version = "0.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Full-featured async (tokio-based) connection pool (like r2d2)"
readme = "README.md"
license = "MIT"
repository = "https://github.com/djc/bb8"
[features]
default = ["parking_lot"]
parking_lot = [
"dep:parking_lot",
"tokio/parking_lot",
]
[lib]
name = "bb8"
path = "src/lib.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.futures-util]
version = "0.3.2"
features = ["alloc"]
default-features = false
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.tokio]
version = "1.0"
features = [
"rt",
"sync",
"time",
]
[dev-dependencies.tokio]
version = "1.0"
features = ["macros"]
[target.'cfg(not(target_has_atomic = "64"))'.dependencies.portable-atomic]
version = "1"
|