-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
37 lines (32 loc) · 944 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
32
33
34
35
36
37
[package]
name = "futures-locks"
edition = "2018"
version = "0.7.1"
authors = ["Alan Somers <asomers@gmail.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/asomers/futures-locks"
description = """
Futures-aware lock primitives
"""
categories = ["asynchronous"]
documentation = "https://docs.rs/futures-locks"
autotests = false
include = ["src/**/*", "tests/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
[package.metadata.docs.rs]
features = ["tokio"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
# Enable methods that require a Tokio runtime.
default = ["tokio"]
[dependencies]
futures-channel = "0.3.11"
futures-task = "0.3.11"
tokio = { version = "1.2", features = ["rt"], optional = true }
[dev-dependencies]
futures = "0.3.11"
tokio = { version = "1.2", features = ["sync", "macros", "rt-multi-thread"] }
tokio-test = { version = "0.4.2" }
[[test]]
name = "functional"
path = "tests/test.rs"