forked from itkovian/sarchive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
73 lines (61 loc) · 1.85 KB
/
Cargo.toml
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
[package]
name = "sarchive"
version = "0.12.9"
authors = ["Andy Georges <itkovian@gmail.com>"]
edition = "2021"
description = "Archival tool for slurm job scripts"
license = "MIT"
readme = "README.md"
homepage = "https://github.com/itkovian/sarchive"
repository = "https://github.com/itkovian/sarchive"
keywords = ["slurm", "torque", "cli", "archival", "hpc"]
categories = ["command-line-utilities"]
[badges]
travis-ci = { repository = "itkovian/sarchive" }
coveralls = { repository = "itkovian/sarchive" }
maintenance = { status = "actively-developed" }
[dependencies]
chrono = { version = "~0.4", default-features = false, features = ["clock", "serde"] }
clap = { version = "~4.5", features = ["derive"] }
crossbeam = "~0.8"
crossbeam-channel = "~0.5"
crossbeam-queue = "~0.3"
crossbeam-utils = "~0.8"
enum-display-derive = "0.1.1"
fern = { version = "0.6.1", features = ["reopen-03"]}
glob = "0.3.1"
itertools = "~0.12"
libc = "~0.2"
log = "^0.4"
notify = "6.0.1"
proc-macro2 = "~1.0"
rdkafka = { version = "~0.36", optional = true, features = ["ssl", "sasl"]}
reopen = "1.0.1"
sasl2-sys = "0.1.20"
serde = { version = "~1.0", features = ["derive"], optional = true }
serde_derive = { version = "~1.0", optional = true }
serde_json = { version = "~1.0", optional = true }
signal-hook = "~0.3"
[lib]
name = "sarchive"
path = "src/lib.rs"
[[bin]]
name = "sarchive"
path = "src/main.rs"
[features]
kafka = ["rdkafka", "serde", "serde_derive", "serde_json"]
[dev-dependencies]
tempfile = "~3.10"
tokio = "1.35.1"
mockito = "1.2.0"
# generated by 'cargo dist init'
[profile.dist]
inherits = "release"
debug = true
split-debuginfo = "packed"
[package.metadata.rpm.cargo]
buildflags = ["--release", "--all-features"]
[package.metadata.rpm.targets]
sarchive = { path = "/usr/bin/sarchive" }
[package.metadata.rpm.files]
service = { path = "/usr/lib/systemd/system/sarchive.service" }