-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (29 loc) · 917 Bytes
/
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
[package]
authors = ["Judge Maygarden <[email protected]>"]
description = """
Provides Tower layers focused on wrapping services with asynchronous worker tasks
that may also make requests to the wrapped service.
"""
documentation = "https://docs.rs/tower-worker/0.1.0"
categories = ["asynchronous", "network-programming"]
edition = "2018"
homepage = "https://github.com/jmaygarden/tower-worker"
keywords = ["io", "async", "non-blocking", "futures", "service"]
license = "MIT"
name = "tower-worker"
readme = "README.md"
repository = "https://github.com/jmaygarden/tower-worker"
version = "0.1.0"
[features]
default = ["full"]
full = ["periodic"]
periodic = ["tokio/time"]
[dependencies]
futures-util = "0.3"
pin-project = "1"
tokio = { version = "1", optional = true, features = ["rt"] }
tower-layer = "0.3"
tower-service = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]