-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
31 lines (28 loc) · 1.02 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
[package]
name = "retry-if"
version = "0.2.3"
edition = "2021"
resolver = "2"
authors = ["Brendan Blanchard"]
description = "A tokio-compatible attribute-macro for decorating methods and functions with an exponential backoff."
license = "MIT"
repository = "https://github.com/Brendan-Blanchard/retry-if"
keywords = ["tokio", "async", "retry", "backoff"]
categories = ["asynchronous", "concurrency", "web-programming"]
exclude = [".idea", ".gitignore", ".github"]
[dependencies]
retry-if-macro = { version = "0.2.2", path = "retry-if-macro", default-features = false }
serde = { version = "1.0.209", optional = true, features = ["derive"] }
tokio = { version = "1.40.0", features = ["full"] }
[dev-dependencies]
trybuild = "1.0.99"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
retry-if = { path = ".", features = ["tracing"] }
tokio = { version = "1.40.0", features = ["full", "test-util"] }
serde_json = "1.0.127"
[features]
default = ["tracing"]
full = ["tracing", "serde"]
tracing = ["retry-if-macro/tracing"]
serde = ["dep:serde"]