-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (28 loc) · 890 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
[package]
name = "async-bulkhead"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/nnazo/async-bulkhead"
documentation = "https://docs.rs/async-bulkhead"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = """
An async semaphore-based bulkhead implementation
"""
keywords = ["bulkhead", "resiliency", "patterns"]
[features]
default = ["rt-tokio"]
rt-tokio = ["tokio/sync", "tokio/time"]
rt-async-std = ["async-std/futures-lite"]
rt-smol = ["smol-timeout"]
[dependencies]
futures-lite = "1"
thiserror = "1"
async-lock = "2"
cfg-if = "1"
tokio = { version = "1", default-features = false, optional = true }
async-std = { version = "1", optional = true }
smol-timeout = { version = "0.6", optional = true }
[dev-dependencies]
tokio = { version = "1", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] }
assert_matches = "1.5"