-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (43 loc) · 1.24 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
[package]
name = "situwaition"
version = "0.3.3"
edition = "2021"
description = "Run a closure continuously, until is succeeds or times out."
license = "MIT"
readme = "README.md"
rust-version = "1.70"
authors = [
"vados <vados@vadosware.io>"
]
categories = [ "asynchronous" ]
repository = "https://github.com/t3hmrman/situwaition"
[[example]]
name = "sync"
[[example]]
name = "tokio"
crate-type = [ "bin" ]
required-features = [ "tokio" ]
[[example]]
name = "async-std"
path = "./examples/async_std.rs"
crate-type = [ "bin" ]
required-features = [ "async-std" ]
[features]
default = []
tokio = ["dep:tokio", "dep:async-trait"]
async-std = ["dep:async-std", "dep:async-trait"]
[dependencies]
anyhow = "1.0.71"
tokio = { version = "1.29.1", optional = true, features = [ "time", "rt", "macros" ] }
async-trait = { version = "0.1.69", optional = true }
async-std = { version = "1.12.0", optional = true, features = [ "attributes" ] }
thiserror = "1.0.40"
derive_builder = "0.12.0"
[build-dependencies]
rustc_version = "0.4.0"
[dev-dependencies]
async-std = { version = "1.12.0", features = [ "attributes" ] }
tokio = { version = "1.29.1", features = [ "time", "rt", "macros", "rt-multi-thread" ] }
thiserror = "1.0.40"
[package.metadata.docs.rs]
all-features = true