summaryrefslogtreecommitdiffstats
path: root/crates/common/tedge_utils/Cargo.toml
blob: 0d1354ede358d5b1e5ce459db5ee5788e10960d3 (plain)
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 = "tedge_utils"
version = "0.7.3"
authors = ["thin-edge.io team <info@thin-edge.io>"]
edition = "2021"
rust-version = "1.58.1"
license = "Apache-2.0"
description = "tedge_utils provide utilities for thin-edge.io components"

[features]
# No features on by default
default = []
logging = ["tracing", "tracing-subscriber"]
fs-notify = ["inotify", "async-stream", "strum_macros", "try-traits"]

[dependencies]
async-stream = { version = "0.3", optional = true }
futures = "0.3"
inotify = { version = "0.10", optional = true }
nix = "0.24"
strum_macros = { version = "0.24", optional = true }
tempfile = "3.2"
thiserror = "1.0"
tokio = { version = "1.12", default_features = false, features = [ "fs", "io-util", "macros", "signal"] }
tracing = { version = "0.1", features = [], optional = true }
tracing-subscriber = { version = "0.3", optional = true, features = [ "time" ] }
try-traits = { version = "0.1", optional = true }
users = "0.11.0"

[dev-dependencies]
assert_matches = "1.5"
maplit = "1.0"
tedge_test_utils = { path = "../../tests/tedge_test_utils" }
tokio = { version = "1.12", features = [ "rt-multi-thread"] }
whoami = "1.2.1"