-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (92 loc) · 3.74 KB
/
Cargo.toml
File metadata and controls
108 lines (92 loc) · 3.74 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
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
# cargo-features = ["codegen-backend"]
# default-features = false
# build = "build.rs"
[package]
edition = "2024"
authors = ["Manuel Sopena Ballesteros <msopena@cscs.ch>", "Miguel Gila <miguel.gila@cscs.ch>"]
name = "manta-cli"
description = "Another CLI for ALPS"
version = "1.62.9"
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"
keywords = ["cli", "productivity"]
publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# [build-dependencies]
# clap = "*"
# clap_complete = "*"
# manta-backend-dispatcher = { path = "../backend-dispatcher" } # Only for development purposes
# backend-dispatcher = "*"
# strum = "*"
# strum_macros = "*"
[dependencies]
# --- START MANTA DEPENDENCIES ---
# PROD
manta-backend-dispatcher = "0.22.0"
csm-rs = "0.102.3"
ochami-rs = "0.11.3"
# DEV - Only for development purposes
# manta-backend-dispatcher = { path = "../manta-backend-dispatcher" }
# ochami-rs = { path = "../ochami-rs" }
# csm-rs = { path = "../csm-rs" }
# --- END MANTA DEPENDENCIES ---
hostlist-parser = "0.1.6"
nodeset = "0.5.0"
strum = { version = "0.27.1", default-features = false }
strum_macros = "0.27.1"
chrono = { version = "0.4.41", default-features = false }
anyhow = { version = "1.0.44", default-features = false }
reqwest = { version = "0.12.15", default-features = false, features = ["blocking", "json", "rustls-tls", "socks"] } # We need native-tls-vendored feature to be able to compile on `musl` target
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
serde_yaml = "0.9.34"
log = "0.4.27"
log4rs = { version = "1.4.0", default-features = false }
tokio = { version = "1.45", features = ["rt", "rt-multi-thread", "sync", "macros", "io-util", "io-std", "net", "time"] }
tokio-util = "0.7.4" # used by manta_console to create a read stream from container stdout
uuid = { version = "1.16.0", features = ["fast-rng", "v4"] }
git2 = { version = "0.18.1", default-features = false, features = ["vendored-openssl"] }
dialoguer = { version = "0.12.0", features = ["password"], default-features = false }
futures = { version = "0.3.31", default-features = false }
toml = "0.8.16"
toml_edit = "0.22.27" # used to edit manta configuration file
clap = { version = "4.5.60", features = ["wrap_help"] }
clap_complete = "4.5.66"
regex = "1.6.0"
directories = "6.0.0" # XDG Base Directory Specification
comfy-table = "7.2.2"
crossterm = { version = "0.29.0", default-features = false } # terminal colors and raw mode
execute = "0.2.13"
is_executable = "1.0.1"
minijinja = { version = "2.4.0", features = ["custom_syntax"] }
rdkafka = { version = "0.39" }
# rdkafka = { version = "0.37", features = ["cmake-build"] }
base64 = { version = "0.22", default-features = false }
config = { version = "0.15.19", features = ["toml"], default-features = false }
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
[profile.release]
opt-level = "s" # Tell `rustc` to optimize for small code size.
#incremental = true
debug = 1
#[features]
#dhat-heap = [] # if you are doing heap profiling
#dhat-ad-hoc = [] # if you are doing ad hoc profiling
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# 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