-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
95 lines (87 loc) · 3.33 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
[package]
name = "cloudtruth"
version = "1.2.4"
description = "A command-line interface to the CloudTruth configuration management service."
authors = ["CloudTruth <support@cloudtruth.com>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://cloudtruth.com/"
repository = "https://github.com/cloudtruth/cloudtruth-cli"
readme = "README.md"
build = "build.rs"
[workspace]
members = ["crates/*", "xtask", "tests/harness", "tests/macros"]
default-members = [".", "crates/cloudtruth-config", "crates/cloudtruth-installer"]
exclude = ["crates/cloudtruth-restapi"]
[package.metadata.deb]
assets = [
["target/release/cloudtruth", "usr/bin/", "755"],
["target/release/completions/cloudtruth.bash", "usr/share/bash-completion/completions/cloudtruth", "644"],
["target/release/completions/cloudtruth.fish", "usr/share/fish/vendor_completions.d/cloudtruth.fish", "644"],
["target/release/completions/_cloudtruth", "usr/share/zsh/vendor-completions/_cloudtruth", "644"],
["README.md", "usr/share/doc/cloudtruth/", "644"],
]
extended-description = """\
The cloudtruth CLI provides an easy way to script actions related to configuration
data you have stored within the CloudTruth configuration management service.
"""
depends = "$auto, ca-certificates"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/cloudtruth", dest = "/usr/bin/cloudtruth", mode = "755" },
{ source = "target/release/completions/cloudtruth.bash", dest = "/usr/share/bash-completion/completions/cloudtruth", mode = "644" },
{ source = "target/release/completions/cloudtruth.fish", dest = "/usr/share/fish/vendor_completions.d/cloudtruth.fish", mode = "644" },
{ source = "target/release/completions/_cloudtruth", dest = "/usr/share/zsh/vendor-completions/_cloudtruth", mode = "644" },
{ source = "README.md", dest = "/usr/share/doc/cloudtruth/README.md", mode = "644" },
]
auto-req = "no"
[package.metadata.generate-rpm.requires]
ca-certificates = "*"
[build-dependencies]
clap = "2.33.3"
cloudtruth-config = { path = "crates/cloudtruth-config", version = "1.2.4" }
[dependencies]
aes-gcm = "0.9.2"
base64 = "0.13.0"
chacha20poly1305 = "0.8.0"
chrono = "0.4.23"
clap = "2.33.3"
cloudtruth-config = { path = "crates/cloudtruth-config", version = "1.2.4" }
cloudtruth-installer = { path = "crates/cloudtruth-installer", version = "1.2.4" }
cloudtruth-restapi = { path = "crates/cloudtruth-restapi" }
color-eyre = "0.5"
csv = "1.1.6"
directories = "3.0"
edit = "0.1.2"
env_logger = "0.8"
hex = "0.4.3"
hkdf = "0.11.0"
indoc = "1.0"
once_cell = "1.5"
prettytable-rs = { version = "0.10.0", default-features = false, features = ["csv"] } # disable CLRF on Windows
powershell_script = "0.2.1"
rand_core = { version = "0.6.2", features = ["getrandom"] }
# reqwest version must match client package
reqwest = { version = "~0.9", default-features = false, features = ["default-tls-vendored"] }
rpassword = "5.0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.64"
serde_yaml = "0.8"
sha2 = "0.9.5"
similar = "2.0.0"
subprocess = "0.1"
tempfile = "3.2.0"
termcolor = "1.1"
urlencoding = "2.1.0"
version-compare = "0.1.0"
webbrowser = "0.8.3"
is-terminal = "0.4.9"
[dev-dependencies]
cloudtruth-test-harness = { path = "./tests/harness" }
rusty-hook = "0.11"
serial_test = "0.5"
trycmd = "0.14"
const_format = "0.2.30"
maplit = "1.0"
[profile.release]
debug = "line-tables-only"