/
Cargo.toml
55 lines (45 loc) · 1.72 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
52
53
54
55
[package]
name = "serial_test"
description = "Allows for the creation of serialised Rust tests"
license = "MIT"
version = "3.1.0"
authors = ["Tom Parker-Shemilt <palfrey@tevp.net>"]
edition = "2018"
repository = "https://github.com/palfrey/serial_test/"
readme = "README.md"
categories = ["development-tools::testing"]
keywords = ["sequential", "testing", "parallel"]
[dependencies]
once_cell = "^1.19"
parking_lot = "^0.12"
serial_test_derive = { version = "~3.1.0", path = "../serial_test_derive" }
fslock = { version = "0.2", optional = true }
document-features = { version = "0.2", optional = true }
log = { version = "0.4", optional = true }
futures = { version = "^0.3", default_features = false, features = [
"executor",
], optional = true}
scc = { version = "2"}
env_logger = {version="0.10", optional=true}
[dev-dependencies]
itertools = "0.10"
tokio = { version = "^1.27", features = ["macros", "rt"] }
[features]
default = ["logging", "async"]
## Switches on debug logging (and requires the `log` package)
logging = ["log"]
## Switches on debug with env_logger. Generally only needed by internal serial_test work.
test_logging = ["logging", "env_logger", "serial_test_derive/test_logging"]
## Enables async features (and requires the `futures` package)
async = ["futures", "serial_test_derive/async"]
## The file_locks feature unlocks the `file_serial`/`file_parallel` macros (and requires the `fslock` package)
file_locks = ["fslock"]
docsrs = ["document-features"]
# docs.rs-specific configuration
[package.metadata.docs.rs]
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.cargo-all-features]
skip_optional_dependencies = true
denylist = ["docsrs", "test_logging"]