-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
53 lines (44 loc) · 1.25 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
[package]
name = "escp"
version = "0.9.0"
edition = "2021"
author = "Charles Shiflett <cshiflett@ESnet>"
authors = [ "Charles Shiflett" ]
about = "Energy Sciences Network transfer tool (EScp)"
description = "Energy Sciences Network transfer tool (EScp)"
license = "BSD-3-Clause"
homepage = "https://github.com/esnet/escp"
repository = "https://github.com/esnet/escp"
readme = "README.md"
build = "src/build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
libc = "0.*"
shadow-rs = "0.*"
[dependencies]
clap = { version = "4.*", features = ["derive"] }
regex = "1"
libc = "0.*"
subprocess = "0.*"
flatbuffers = "23.*"
log = "0.*"
syslog = "7.*"
rand = "0.*"
shadow-rs = "0.*"
yaml-rust2 = "0.*"
hex = "0.*"
crossbeam-channel = "0.5"
zstd-safe = "7.*"
chrono = "0.*"
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
[package.metadata.rpm]
package = "escp"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
escp = { path = "/usr/bin/escp" }