2024-02-28 05:25:44 +01:00
|
|
|
[package]
|
|
|
|
name = "pingora-timeout"
|
2024-07-12 20:01:07 +02:00
|
|
|
version = "0.3.0"
|
2024-02-28 05:25:44 +01:00
|
|
|
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"
|
|
|
|
once_cell = { workspace = true }
|
|
|
|
parking_lot = "0.12"
|
|
|
|
thread_local = "1.0"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
bencher = "0.1.5"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "benchmark"
|
|
|
|
harness = false
|