-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (89 loc) · 2.78 KB
/
Cargo.toml
File metadata and controls
108 lines (89 loc) · 2.78 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "bottle-time-processor"
version = "0.1.4"
description = "Processor to read events from mqtt and identify a bottle-time event from them"
keywords = []
categories = []
include = ["/src", "/benches", "README.md", "LICENSE"]
license = "Apache-2.0"
readme = "README.md"
edition = "2024"
rust-version = "1.85"
documentation = "https://docs.rs/bottle-time-processor"
repository = "https://github.com/jeckhart/bottle-time-processor"
authors = ["John Eckhart <envoys-radius3t@icloud.com>"]
[lib]
path = "src/lib.rs"
bench = false
doctest = true
[[bin]]
name = "bottle-time-processor"
path = "src/main.rs"
doc = false
bench = false
[[bench]]
name = "a_benchmark"
harness = false
required-features = ["test_utils"]
[features]
default = []
systemd = ["dep:systemd"]
test_utils = ["dep:proptest"]
[dependencies]
anyhow = "1.0"
proptest = { version = "1.6", optional = true }
miette = { version = "7.5", features = ["fancy"] }
tracing = "0.1"
tracing-subscriber = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Tokio
tokio = { version = "1.44", features = ["default","full"] }
rumqttc = { version = "0.24", features = ["use-rustls"] }
# Shutdown
tokio-graceful-shutdown = "0.16"
# Command line arguments
clap = { version = "4.5", features = ["derive","env"] }
# New dependencies
regex = "1.10.2"
async-trait = "0.1.88"
# Added from the code block
chrono = "0.4"
# InfluxDB
influxdb2 = "0.5"
influxdb2-derive = "0.1"
futures = "0.3"
# systemd used to implement a systemd based watchdog timer
systemd = { version = "0.10", default-features = false, features = [], optional = true }
openssl = { version = "0.10", features = ["vendored"] }
[dev-dependencies]
criterion = { version = "0.5", features = ["async_tokio"] }
proptest = "1.1"
[metadata.docs.rs]
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
#
# See https://doc.rust-lang.org/cargo/reference/profiles.html for more info.
# [profile.release]
# Do not perform backtrace for panic on release builds.
## panic = 'abort'
# Perform optimizations on all codegen units.
## codegen-units = 1
# Tell `rustc` to optimize for small code size.
## opt-level = "s" # or 'z' to optimize "aggressively" for size
# Enable link time optimization.
## lto = true
# Amount of debug information.
# 0/false: no debug info at all; 1: line tables only; 2/true: full debug info
## debug = false
# Strip debug symbols
## strip = "symbols"
# Speedup build on macOS
# See https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information
[profile.dev]
split-debuginfo = "unpacked"
[package.metadata.ebuild]
homepage = "http://github.com/jeckhart/bottle-time-processor"
template-path = "./packaging/ebuild/bottle-time-processor.tera"
template_path = "./packaging/ebuild/bottle-time-processor.tera"