-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (45 loc) · 1.11 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "elegant-departure"
version = "0.3.1"
authors = ["David Herberth <[email protected]>"]
description = "Utility crate to simplify graceful shutdown"
license = "MIT"
categories = ["asynchronous"]
repository = "https://github.com/Dav1dde/elegant-departure"
edition = "2021"
[dependencies]
lazy_static = "1"
futures = "0.3"
tokio-util = ">= 0.6, < 0.8"
pin-project-lite = "0.2"
tokio = { version = "1", features = ["signal"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
hyper = { version = "0.14", features = ["server", "tcp", "http1"] }
async-std = { version = "1", features = ["attributes"] }
smol = "1"
anyhow = "1"
serial_test = "3"
axum = "0.7"
[[example]]
name = "simple"
[[example]]
name = "axum"
required-features = ["tokio"]
[[example]]
name = "tokio"
required-features = ["tokio"]
[[example]]
name = "hyper"
required-features = ["tokio"]
[[example]]
name = "worker"
required-features = ["tokio"]
[[example]]
name = "smol"
[[example]]
name = "async_std"
# docs.rs-specific configuration
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]