mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
8797329225
Co-authored-by: Andrew Hauck <ahauck@cloudflare.com> Co-authored-by: Edward Wang <ewang@cloudflare.com>
37 lines
833 B
TOML
37 lines
833 B
TOML
[package]
|
|
name = "pingora-timeout"
|
|
version = "0.1.0"
|
|
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
|
|
license = "Apache-2.0"
|
|
edition = "2021"
|
|
repository = "https://github.com/cloudflare/pingora"
|
|
categories = ["asynchronous"]
|
|
keywords = ["async", "non-blocking", "pingora"]
|
|
description = """
|
|
Highly efficient async timer and timeout system for Tokio runtimes.
|
|
"""
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[lib]
|
|
name = "pingora_timeout"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, features = [
|
|
"time",
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"sync",
|
|
] }
|
|
pin-project-lite = "0.2"
|
|
futures = "0.3"
|
|
once_cell = { workspace = true }
|
|
parking_lot = "0.12"
|
|
thread_local = "1.0"
|
|
|
|
[dev-dependencies]
|
|
bencher = "0.1.5"
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false
|