149 lines
2.7 KiB
TOML
149 lines
2.7 KiB
TOML
# 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 = "deadpool"
|
|
version = "0.12.3"
|
|
authors = ["Michael P. Jung <michael.jung@terreon.de>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Dead simple async pool"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"async",
|
|
"database",
|
|
"pool",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/bikeshedder/deadpool"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
default = [
|
|
"managed",
|
|
"unmanaged",
|
|
]
|
|
managed = []
|
|
rt_async-std_1 = ["deadpool-runtime/async-std_1"]
|
|
rt_tokio_1 = ["deadpool-runtime/tokio_1"]
|
|
unmanaged = []
|
|
|
|
[lib]
|
|
name = "deadpool"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "managed"
|
|
path = "tests/managed.rs"
|
|
|
|
[[test]]
|
|
name = "managed_cancellation"
|
|
path = "tests/managed_cancellation.rs"
|
|
|
|
[[test]]
|
|
name = "managed_config"
|
|
path = "tests/managed_config.rs"
|
|
|
|
[[test]]
|
|
name = "managed_deadlock"
|
|
path = "tests/managed_deadlock.rs"
|
|
|
|
[[test]]
|
|
name = "managed_hooks"
|
|
path = "tests/managed_hooks.rs"
|
|
|
|
[[test]]
|
|
name = "managed_resize"
|
|
path = "tests/managed_resize.rs"
|
|
|
|
[[test]]
|
|
name = "managed_timeout"
|
|
path = "tests/managed_timeout.rs"
|
|
|
|
[[test]]
|
|
name = "managed_unreliable_manager"
|
|
path = "tests/managed_unreliable_manager.rs"
|
|
|
|
[[test]]
|
|
name = "unmanaged"
|
|
path = "tests/unmanaged.rs"
|
|
|
|
[[test]]
|
|
name = "unmanaged_timeout"
|
|
path = "tests/unmanaged_timeout.rs"
|
|
|
|
[[bench]]
|
|
name = "managed"
|
|
path = "benches/managed.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "unmanaged"
|
|
path = "benches/unmanaged.rs"
|
|
harness = false
|
|
|
|
[dependencies.deadpool-runtime]
|
|
version = "0.1"
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.5.0"
|
|
|
|
[dependencies.num_cpus]
|
|
version = "1.11.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.103"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.tokio]
|
|
version = "1.5"
|
|
features = ["sync"]
|
|
|
|
[dev-dependencies.async-std]
|
|
version = "1.0"
|
|
features = ["attributes"]
|
|
|
|
[dev-dependencies.config]
|
|
version = "0.15"
|
|
features = ["json"]
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
features = [
|
|
"html_reports",
|
|
"async_tokio",
|
|
]
|
|
|
|
[dev-dependencies.itertools]
|
|
version = "0.14"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.5.0"
|
|
features = [
|
|
"macros",
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"time",
|
|
]
|