-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (35 loc) · 1.15 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
[package]
name = "sifis-api"
version = "0.0.0"
edition = "2021"
description = "SIFIS-Home Third-party API"
license = "MIT"
repository = "https://github.com/sifis-home/sifis-rust"
keywords = ["SIFIS-Home"]
[features]
default = ["runtime", "client"]
runtime = ["dep:tracing-subscriber", "tokio/rt-multi-thread", "tokio/fs", "tokio/signal"]
client = ["dep:reedline-repl-rs"]
[dependencies]
tarpc = { version = "0.33.0", features = ["serde-transport", "unix", "serde-transport-bincode"] }
tokio = { version = "1.32", features = ["macros"] }
futures = "0.3"
thiserror = "1.0.38"
serde = { version = "1.0.152", features = ["serde_derive"] }
tracing = "0.1.37"
# runtime-only
tracing-subscriber = { version = "0.3.16", optional = true }
reedline-repl-rs = { version = "1.0.6", features = ["async"], optional = true }
toml = "0.8"
nix = { version = "0.27.1", features = ["socket"] }
libc = "0.2.144"
libproc = "0.14.1"
[[bin]]
name = "sifis-runtime-mock"
required-features = ["runtime"]
[dev-dependencies]
anyhow = "1.0.75"
assert_cmd = "2.0.12"
tempfile = "3.8.0"
nix = { version = "0.27.1", features = ["process"] }
tokio = { version = "1.32", features = ["rt-multi-thread"] }