-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (56 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
61 lines (56 loc) · 1.83 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
[package]
name = "bec_log_ingestor"
description = "Tiny service to pull BEC logs from Redis and push them to Loki"
readme = "README.md"
repository = "https://github.com/bec-project/bec_log_ingestor"
keywords = ["logging", "BEC"]
categories = ["science", "command-line-utilities"]
license = "Apache-2.0"
version = "1.12.0"
edition = "2024"
[package.metadata.generate-rpm]
assets = [
{ source = "target/x86_64-unknown-linux-gnu/release/bec_log_ingestor", dest = "/usr/local/bin/bec_log_ingestor", mode = "755" },
{ source = "install/bec_log_ingestor.service", dest = "/lib/systemd/system/bec_log_ingestor.service", mode = "755" },
]
pre_install_script = "install/setup_user"
pre_install_script_prog = ["/bin/bash"]
pre_install_script_flags = 0b100
post_install_script = "install/restart_service"
post_install_script_prog = ["/bin/bash"]
post_install_script_flags = 0b100
[dependencies]
chrono = "0.4.44"
clap = { version = "4.5.60", features = ["derive"] }
futures = "0.3.32"
prost = "0.14.3"
redis = { version = "1.0.5", features = ["tls-rustls", "tokio-rustls-comp"] }
reqwest = { version = "0.13.2", features = ["json"] }
rmp-serde = "1.3.1"
serde = { version = "1.0.228", features = ["derive"] }
serde_derive = "1.0.228"
serde_json = "1.0.149"
snap = "1.1.1"
sysinfo = "0.38.4"
thiserror = "2.0.18"
tokio = { version = "1.50.0", features = [
"full",
"rt-multi-thread",
"sync",
"tokio-macros",
] }
toml = "1.0.6"
rustls = { version = "0.23" }
gethostname = "1.1.0"
[dev-dependencies]
mockito = "1.7.2"
testcontainers-modules = { version = "0.15.0", features = ["redis"] }
[build-dependencies]
prost-build = "0.14.3"
which = "8.0.2"
bindgen = "0.72.1"
aws-lc-rs = { version = "1", features = [
"bindgen",
] } # This is a workaround for failing builds on arm. See: https://github.com/rustls/rustls/issues/1788
[lints.clippy]
dbg_macro = "deny"