-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
28 lines (25 loc) · 975 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
[package]
name = "retry-block"
version = "1.0.0"
edition = "2021"
authors = [
"IGI-111 <[email protected]>",
]
license = "MIT"
description = "Utilities to retry operations that may fail with configurable backoff behavior using macros over blocks of code"
repository = "https://github.com/IGI-111/retry-block"
[dependencies]
async-trait = { optional = true, version = "0.1.53" }
futures-util = { optional = true, version = "0.3.21" }
rand = { optional = true, version = "0.8.5" }
serde = { optional = true, version = "1.0.136", features = ["derive"] }
tokio = { optional = true, version = "1.17.0", features = ["sync", "time", "macros", "rt-multi-thread", "signal", "test-util"] }
tokio-stream = { optional = true, version = "0.1.8" }
[dev-dependencies]
rand_xorshift = "0.3.0"
[features]
default = ["random", "config", "future", "persist"]
random = ["rand"]
config = ["serde"]
future = ["tokio"]
persist = ["tokio", "tokio-stream", "futures-util", "async-trait"]