-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 884 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "winsvc"
version = "0.1.1"
authors = ["Nathan Jeffords <n8@n8ware.net>"]
edition = "2018"
[features]
default=[
"async_main",
"serde_config",
"std_cli",
"tracing_logfile"
]
async_main=["tokio"]
serde_config=["serde"]
std_cli=["structopt"]
tracing_logfile=["tracing-subscriber"]
[[example]]
name = "hello"
[dependencies]
tracing = "^0.1"
serde = { version="^1", optional = true }
tracing-subscriber = { version="0.2.18", optional=true }
[dependencies.tokio]
version="^1"
features=[ "rt", "sync", "rt-multi-thread" ]
optional=true
[dependencies.structopt]
version = "^0.3"
optional=true
[dependencies.winapi]
version="*"
features=[
"winsvc",
"synchapi",
"winerror",
"errhandlingapi",
"processthreadsapi",
"handleapi",
"winbase",
"psapi",
"winreg"
]
[dev-dependencies.serde]
version="^1"
features = [ "derive" ]