-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
49 lines (41 loc) · 1.37 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
[package]
name = "test-with"
version = "0.12.6"
authors = ["Antonio Yang <yanganto@gmail.com>"]
edition = "2021"
license = "MIT"
description = "A lib help you run test with condition"
repository = "https://github.com/yanganto/test-with"
keywords = [ "testing", "condition", "toggle", "integration", "ignore" ]
categories = [ "development-tools", "testing" ]
[lib]
proc-macro = true
[dependencies]
proc-macro-error = "1.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = [ "full" ] }
regex = { version = "1" }
reqwest = { version = "0.11", features = ["blocking"], optional = true }
ping = { version = "0.5", optional = true }
sysinfo = { version = "0.30", optional = true }
byte-unit = { version = "5.0", optional = true }
num_cpus = { version = "1.13", optional = true }
which = { version = "5.0", optional = true }
[target.'cfg(not(target_os = "windows"))'.dependencies]
uzers = { version = "0.11.3", optional = true }
[features]
default = ["net", "resource", "user", "executable"]
ign-msg = []
runtime = []
net = ["http", "icmp"]
http = ["reqwest"]
icmp = ["ping"]
resource = ["sysinfo", "byte-unit", "num_cpus"]
user = ["uzers"]
executable = ["which"]
[dev-dependencies]
tokio = { version = "1.15.0", features = ["rt", "macros"] }
serial_test = "2.0.0"
libtest-with = { version = "0.7.0-0", features = ["net", "resource", "user", "executable"] }
rstest = "0.21.0"