-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
98 lines (90 loc) · 4.03 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
build = "build.rs"
[package]
edition = "2021"
authors = ["Manuel Sopena Ballesteros <[email protected]>"]
name = "mesa"
description = "A library for Shasta"
version = "0.42.3-beta.11"
license-file = "LICENSE"
documentation = "https://github.com/eth-cscs/mesa/blob/main/README.md"
homepage = "https://github.com/eth-cscs/mesa/blob/main/README.md"
repository = "https://github.com/eth-cscs/mesa"
publish = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# backend-dispatcher = { path = "../backend-dispatcher" } # Only for development purposes
backend-dispatcher = "0.1.10"
strum = { version = "0.25.0", default-features = false }
strum_macros = "0.25"
chrono = { version = "0.4.31", default-features = false }
anyhow = { version = "1.0.44", default-features = false }
thiserror = "1.0.56"
reqwest = { version = "0.11", default-features = false }
serde = { version = "1.0.145", default-features = false }
serde_json = "1.0"
serde_yaml = "0.9.17"
log = "0.4.17"
log4rs = { version = "1.2.0", default-features = false }
tokio = { version = "1.14", features = ["full"] }
tokio-rustls = { version = "0.24.0", default-features = false }
tokio-util = "0.7.4" # used by manta_console to create a read stream from container stdout
tokio-stream = { version = "0.1.11", default-features = false }
kube = { version = "0.87.2", features = ["ws"] }
k8s-openapi = { version = "0.20.0", features = ["v1_26"] }
rustls-pemfile = "1.0.3"
# https://github.com/kube-rs/kube-rs/discussions/1012 and https://crates.io/crates/hyper-socks2
hyper-socks2 = { version = "0.8.0", default-features = false } # needed by kube-rs (to operate with kube api)
hyper = { version = "0.14" } # needed by kube-rs (to operate with kube api)
hyper-rustls = { version = "0.24.0", default-features = false }
tower = { version = "0.4.13", default-features = false }
futures = { version = "0.3.28", default-features = false }
dialoguer = { version = "0.10.2", features = ["password"], default-features = false }
regex = "1.6.0"
directories = "4.0.1" # XDG Base Directory Specification
config = { version = "0.13.2", features = ["ron"], default-features = false }
secrecy = { version = "0.8.0", default-features = false }
# openssl-sys = { version = "0.9.87", features = ["vendored"] }
# bytes = { version = "1", features = ["serde"] }
termion = "2.0.1" # used by manta_console to enable terminal raw
base64 = { version = "0.13.1", default-features = false }
aws-sdk-s3 = { version = "1.12.0", features = ["rustls"], default-features = false }
aws-config = { version = "1.1.2", default-features = false }
aws-smithy-runtime = { version = "1.0.1" }
# aws-smithy-runtime-api = { version = "1.0.1", features = ["client"] }
# aws-smithy-client = { version = "0.60.3" }
aws-smithy-types = { version = "1.1.2", features = ["rt-tokio"] }
indicatif = { version = "0.17.7", default-features = false }
rand = { version = "0.8.5", default-features = false }
tempfile = "3.8.1"
uuid = { version = "1.6.1", default-features = false }
globset = { version = "0.4.14", default-features = false }
[build-dependencies]
# clap = "4.0.32"
# clap_complete = "4.0.3"
[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.0.7"
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.67.1"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
# CI backends to support (see 'cargo dist generate-ci')
ci = ["github"]
# The installers to generate for each app
installers = []
# Whether to consider the binaries in a package for distribution (defaults true)
dist = true
[features]
default = ["ochami"]
ochami = []
#dhat-heap = [] # if you are doing heap profiling
#dhat-ad-hoc = [] # if you are doing ad hoc profiling