blob: edffde45b947b5d6db062bd5e56471e225da02e4 (
plain)
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
|
[package]
name = "pingora-timeout"
version = "0.4.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"
once_cell = { workspace = true }
parking_lot = "0.12"
thread_local = "1.0"
[dev-dependencies]
bencher = "0.1.5"
[[bench]]
name = "benchmark"
harness = false
|