forked from eth-cscs/manta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
120 lines (111 loc) · 4.12 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
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
109
110
111
112
113
114
115
116
117
118
119
120
build = "build.rs"
[package]
edition = "2021"
authors = ["Manuel Sopena Ballesteros <msopena@cscs.ch>"]
name = "manta"
description = "Another CLI for basic/simple Shasta operations"
version = "1.22.0"
license-file = "LICENSE"
documentation = "https://github.com/eth-cscs/manta/blob/main/README.md"
homepage = "https://github.com/eth-cscs/manta/blob/main/README.md"
repository = "https://github.com/eth-cscs/manta"
publish = false # cargo dist --> Avoid publishing to crates.io
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
mesa = "0.27.1"
# mesa = { path = "../mesa" } # Only for development purposes
strum = "0.25.0"
strum_macros = "0.25"
chrono = "0.4.31"
anyhow = "1.0.44"
reqwest = { version = "0.11", features = [
"blocking",
"json",
"rustls-tls",
"socks",
] }
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9.17"
config = { version = "0.13.2", features = [
"toml",
] } # used to read manta configuration file
toml_edit = "0.20.2" # used to edit manta configuration file
log = "0.4.17"
log4rs = "1.2.0" # Docs about pattern encoder https://docs.rs/log4rs/0.10.0/log4rs/encode/pattern/index.html
tokio = { version = "1.14", features = ["full"] }
tokio-util = "0.7.4" # used by manta_console to create a read stream from container stdout
tokio-stream = "0.1.11" # used by manta_console to create a read stream from container stdout (alternative?)
kube = { version = "0.85.0", features = [
"kube-client",
"kube-runtime",
"derive",
"rustls-tls",
"ws",
] }
k8s-openapi = { version = "0.19.0" }
hyper = { version = "0.14", features = [
"full",
] } # needed by kube-rs (to operate with kube api)
futures = "0.3.28"
# futures-util = "0.3.24"
clap = { version = "4.3.21", features = ["derive", "cargo", "wrap_help"] }
clap_complete = "4.3.2"
git2 = { version = "0.18.1", features = ["vendored-openssl"] }
dialoguer = "0.11.0"
substring = "1.4.5"
regex = "1.6.0"
directories = "4.0.1" # XDG Base Directory Specification
comfy-table = "6.1.1" # used to print mata's command output to stdout as tables
tracing-subscriber = "0.3.16"
termion = "2.0.1" # used by manta_console to enable terminal raw and also to print text in color
crossterm = "0.27.0"
dhat = "0.3.2" # used for memory profiling
base64 = "0.13.1"
exitcode = "1.1.2"
digest = "0.10.7"
md5 = { version = "0.7.0", features = [] }
humansize = "2.0.0"
indicatif = "0.17.7"
execute = "0.2.13"
is_executable = "1.0.1"
[build-dependencies]
clap = "*"
clap_complete = "*"
[profile.release]
opt-level = "s" # Tell `rustc` to optimize for small code size.
#incremental = true
debug = 1
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.8.1"
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.75.0"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "homebrew"]
# Whether to consider the binaries in a package for distribution (defaults true)
dist = true
# Publish jobs to run in CI
pr-run-mode = "plan"
# Config for `cargo release`
[package.metadata.release]
pre-release-hook = [
"git",
"cliff",
"-o",
"CHANGELOG.md",
"--tag",
"{{version}}",
] # [Generates CHANGELOG automatically] (https://github.com/crate-ci/cargo-release/blob/master/docs/faq.md#maintaining-changelog) using [git cliff](https://github.com/orhun/git-cliff) as a dependency
#[features]
#dhat-heap = [] # if you are doing heap profiling
#dhat-ad-hoc = [] # if you are doing ad hoc profiling