forked from ihrwein/backoff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (64 loc) · 2.52 KB
/
Cargo.toml
File metadata and controls
74 lines (64 loc) · 2.52 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "maybe-backoff"
version = "0.5.0"
authors = [
"Tibor Benke <ihrwein@gmail.com>",
"Aleksey Kuznetsov <zummenix@gmail.com>",
"Andrew Banchich <13824577+andrewbanchich@users.noreply.github.com>",
"Anthony Dodd <dodd.anthonyjosiah@gmail.com>",
"Armin Ronacher <armin.ronacher@active-4.com>",
"clux <sszynrae@gmail.com>",
"Daniel Cormier <dcormier@users.noreply.github.com>",
"Jakub Panek <me@panekj.dev>",
"Jonas Platte <jplatte+git@posteo.de>",
"Noah <33094578+coolreader18@users.noreply.github.com>",
"Shekhinah Memmel <she@khinah.xyz>",
"Stas <iamlolylol@gmail.com>",
"Stepan Artamonov <stiartamonov@gmail.com>",
"Teo Klestrup Röijezon <teo@nullable.se>",
"tyranron <tyranron@gmail.com>",
"Robert Krahn <robert@hyper.video>",
]
categories = ["network-programming"]
documentation = "https://docs.rs/maybe-backoff"
edition = "2021"
exclude = ["Cargo.lock"]
homepage = "https://github.com/hypervideo/backoff"
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/hypervideo/backoff"
description = "Retry operations with exponential backoff policy."
[dependencies]
async_std_1 = { package = "async-std", version = "1.9", optional = true }
futures-core = { version = "0.3.8", default-features = false, optional = true }
getrandom = { version = "0.3" }
pin-project-lite = { version = "0.2.7", optional = true }
rand = { version = "0.9" }
tokio_1 = { package = "tokio", version = "1.0", features = ["time"], optional = true }
[target.'cfg(target_family = "wasm")'.dependencies]
web-time = { version = "1.1.0" }
getrandom = { version = "0.3", features = ["wasm_js"] }
gloo = { version = "0.11", default-features = false, features = ["timers", "futures"] }
[dev-dependencies]
async_std_1 = { package = "async-std", version = "1.6", features = ["attributes"] }
futures-executor = { version = "0.3" }
reqwest = { version = "0.12", features = ["json", "blocking"] }
[target.'cfg(target_family = "wasm")'.dev-dependencies]
tokio_1 = { package = "tokio", version = "1.0", features = ["macros", "time"] }
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
tokio_1 = { package = "tokio", version = "1.0", features = ["macros", "time", "rt-multi-thread"] }
[features]
default = []
futures = ["futures-core", "pin-project-lite"]
tokio = ["futures", "tokio_1"]
async-std = ["futures", "async_std_1"]
[[example]]
name = "async"
required-features = ["tokio"]
[[example]]
name = "permanent_error"
[[example]]
name = "retry"
[package.metadata.docs.rs]
features = ["tokio"]
rustdoc-args = ["--cfg", "docsrs"]