summaryrefslogtreecommitdiffstats
path: root/plugins/c8y_configuration_plugin/Cargo.toml
blob: 385f916bc704a780ad2d544840cdee72b2015d63 (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
[package]
name = "c8y_configuration_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 configuration management for Cumulocity"

[package.metadata.deb]
maintainer-scripts = "../../configuration/debian/c8y_configuration_plugin"
assets = [
    ["../../configuration/init/systemd/c8y-configuration-plugin.service", "/lib/systemd/system/c8y-configuration-plugin.service", "644"],
    ["target/release/c8y_configuration_plugin", "/usr/bin/c8y_configuration_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"
download = { path = "../../crates/common/download" }
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"] }
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"
mockall = "0.11"
mockito = "0.31"
mqtt_tests = { path = "../../crates/tests/mqtt_tests" }
serial_test = "0.8"
tedge_test_utils = { path = "../../crates/tests/tedge_test_utils" }
test-case = "2.2"
toml = "0.5"