-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
35 lines (30 loc) · 1.17 KB
/
Cargo.toml
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
[package]
categories = ["asynchronous", "network-programming"]
edition = "2021"
name = "tokio-graceful"
version = "0.2.2"
description = "util for graceful shutdown of tokio applications"
homepage = "https://github.com/plabayo/tokio-graceful"
readme = "README.md"
keywords = ["io", "async", "non-blocking", "futures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/plabayo/tokio-graceful"
rust-version = "1.75.0"
[target.'cfg(loom)'.dependencies]
loom = { version = "0.7", features = ["futures", "checkpoint"] }
[dependencies]
pin-project-lite = "0.2"
slab = "0.4"
tokio = { version = "1", features = ["rt", "signal", "sync", "macros", "time"] }
tracing = "0.1"
[dev-dependencies]
rand = "0.8"
tokio = { version = "1", features = ["net", "rt-multi-thread", "io-util", "test-util"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[target.'cfg(not(loom))'.dev-dependencies]
hyper = { version = "1.0.1", features = [ "server", "http1", "http2" ] }
hyper-util = { version = "0.1.1", features = [ "server", "server-auto", "http1", "http2", "tokio" ] }
http-body-util = "0.1"
bytes = "1"
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(loom)'] }