summaryrefslogtreecommitdiffstats
path: root/plugins/c8y_log_plugin/Cargo.toml
blob: 9defecacdc2331973ed8021449fb18fcc67b6932 (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
38
39
40
41
42
43
44
[package]
name = "c8y_log_plugin"
version = "0.7.4"
authors = ["thin-edge.io team <info@thin-edge.io>"]
edition = "2021"
rust-version = "1.58.1"
license = "Apache-2.0"
description = "Thin-edge device log file retriever for Cumulocity"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.deb]
maintainer-scripts = "../../configuration/debian/c8y_log_plugin"
assets = [
    ["../../configuration/init/systemd/c8y-log-plugin.service", "/lib/systemd/system/c8y-log-plugin.service", "644"],
    ["target/release/c8y_log_plugin", "/usr/bin/c8y_log_plugin", "755"],
]

[dependencies]
anyhow = "1.0"
c8y_api = { path = "../../crates/core/c8y_api" }
c8y_smartrest = { path = "../../crates/core/c8y_smartrest" }
clap = { version = "3.2", features = ["cargo", "derive"] }
csv = "1.1"
easy_reader = "0.5"
glob = "0.3"
mqtt_channel = { path = "../../crates/common/mqtt_channel" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tedge_config = { path = "../../crates/common/tedge_config" }
tedge_utils = { path = "../../crates/common/tedge_utils", features = ["logging", "fs-notify"] }
time = { version = "0.3" }
thin_edge_json = { path = "../../crates/core/thin_edge_json" }
thiserror = "1.0"
tokio = { version = "1.9", default_features = false, features = [ "fs", "io-util", "macros", "rt-multi-thread","signal"] }
toml = "0.5"
tracing = { version = "0.1", features = ["attributes", "log"] }

[dev-dependencies]
assert_matches = "1.5"
filetime = "0.2"
mockall = "0.11"
tempfile = "3.3"
test-case = "2.2"
serial_test = "0.8"