-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (62 loc) · 2.14 KB
/
Cargo.toml
File metadata and controls
70 lines (62 loc) · 2.14 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
[package]
name = "leech2"
version = "4.1.3"
edition = "2024"
authors = ["Lars Erik Wik <lars.erik.wik@northern.tech>"]
description = "Track CSV changes and produce SQL patches via a git-like block chain"
license = "MIT"
repository = "https://github.com/larsewi/leech2"
homepage = "https://github.com/larsewi/leech2"
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "lch"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.102"
chrono = "0.4.43"
clap = { version = "4", features = ["derive"] }
csv = "1.3"
env_logger = "0.11"
log = { version = "0.4", features = ["release_max_level_debug"] }
prost = "0.14"
prost-types = "0.14"
regex = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha1 = "0.10"
terminal_size = "0.4"
toml = "0.8"
zstd = "0.13"
[dev-dependencies]
cc = "1"
rand = "0.9"
tempfile = "3"
[build-dependencies]
prost-build = "0.14"
[package.metadata.deb]
maintainer = "Lars Erik Wik <lars.erik.wik@northern.tech>"
section = "utils"
priority = "optional"
depends = "libc6"
assets = [
["target/release/lch", "usr/bin/", "755"],
["target/release/libleech2.so", "usr/lib/", "755"],
["target/release/leech2-deb.pc", "usr/lib/pkgconfig/leech2.pc", "644"],
["include/leech2.h", "usr/include/", "644"],
["README.md", "usr/share/doc/leech2/", "644"],
["target/release/man/lch.1", "usr/share/man/man1/", "644"],
["target/release/man/libleech2.3", "usr/share/man/man3/", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/lch", dest = "/usr/bin/lch", mode = "755" },
{ source = "target/release/libleech2.so", dest = "/usr/lib64/libleech2.so", mode = "755" },
{ source = "target/release/leech2-rpm.pc", dest = "/usr/lib64/pkgconfig/leech2.pc", mode = "644" },
{ source = "include/leech2.h", dest = "/usr/include/leech2.h", mode = "644" },
{ source = "README.md", dest = "/usr/share/doc/leech2/README.md", mode = "644" },
{ source = "target/release/man/lch.1", dest = "/usr/share/man/man1/lch.1", mode = "644" },
{ source = "target/release/man/libleech2.3", dest = "/usr/share/man/man3/libleech2.3", mode = "644" },
]
[package.metadata.generate-rpm.requires]
glibc = "*"