-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
123 lines (111 loc) · 3.82 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
121
122
123
[package]
name = "rtx-cli"
version = "1.30.1"
edition = "2021"
description = "Polyglot runtime manager (asdf rust clone)"
authors = ["Jeff Dickey (@jdxcode)"]
homepage = "https://github.com/jdxcode/rtx"
documentation = "https://github.com/jdxcode/rtx"
repository = "https://github.com/jdxcode/rtx"
readme = "README.md"
license = "MIT"
keywords = ["rtx"]
categories = ["command-line-utilities"]
include = ["src/**/*.rs", "src/plugins/core/assets/**", "/build.rs", "/LICENSE", "/README.md", "/Cargo.lock"]
rust-version = "1.64.0"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["xtask"]
[lib]
name = "rtx"
path = "src/lib.rs"
test = false
doctest = false
[[bin]]
name = "rtx"
path = "src/main.rs"
#[[bench]]
#name = "config_bench"
#harness = false
[dependencies]
base64 = "<0.22"
chrono = { version = "0.4.23", default-features = false, features = ["std", "clock"] }
clap = { version = "4.2.5", features = ["env", "derive", "string"] }
clap_complete = "4.2.3"
color-eyre = "0.6.2"
color-print = "0.3.4"
console = "0.15.6"
ctrlc = "3.2.3"
dialoguer = { version = "0.10.2", features = [] }
dirs-next = "2.0.0"
dotenvy = "0.15.6"
duct = "0.13.5"
filetime = "0.2.19"
flate2 = "1.0.26"
fslock = "0.2.1"
humantime = "2.1.0"
indenter = "0.3.3"
indexmap = { version = "1.9.2", features = ["serde"] }
indicatif = { version = "0.17.3", features = ["default", "improved_unicode"] }
indoc = "<3"
itertools = "0.10.3"
log = "0.4.17"
num_cpus = "1.14.0"
once_cell = "1.17.0"
rayon = "1.6.1"
regex = "1.7.1"
reqwest = { version = "0.11.17", default-features = false, features = [
"blocking",
"rustls-tls",
] }
rmp-serde = "1.1.1"
self_update = { version = "0.36.0", default-features = false, optional = true, features = [
"rustls",
] }
serde = "1.0.163"
serde_derive = "1.0.152"
serde_json = "1.0.87"
shell-escape = "0.1.4"
simplelog = { version = "0.12.0" }
tera = { version = "1.12.1", default-features = false }
terminal_size = "0.2.1"
thiserror = "1.0.38"
toml = "<0.8"
toml_edit = "<0.20"
url = "2.3.1"
versions = "5.0.0"
[target.'cfg(unix)'.dependencies]
exec = "0.3.1"
[build-dependencies]
built = { version = "0.6.0", features = ["chrono", "git2"] }
[dev-dependencies]
ctor = "<0.3"
insta = "1.26.0"
pretty_assertions = "1.3.0"
[features]
alpine = []
brew = []
deb = []
rpm = []
[package.metadata.release]
allow-branch = ["main"]
sign-tag = true
sign-commit = true
pre-release-hook = "./scripts/pre-release-hook.sh"
pre-release-replacements = [
{ file = "README.md", search = "^rtx [0-9]+.[0-9]+.[0-9]+(-alpha.[0-9]+)?$", replace = "rtx {{version}}", exactly = 1 },
{ file = "README.md", search = "https://github.com/jdxcode/rtx/releases/download/v[0-9]+.[0-9]+.[0-9]+(-alpha.[0-9]+)?/rtx-v[0-9]+.[0-9]+.[0-9]+(-alpha.[0-9]+)?", replace = "https://github.com/jdxcode/rtx/releases/download/v{{version}}/rtx-v{{version}}", exactly = 1 },
{ file = "packaging/rpm/rtx.spec", search = "^Version: [0-9]+.[0-9]+.[0-9]+(-alpha.[0-9]+)?$", replace = "Version: {{version}}", exactly = 1 },
{ file = "default.nix", search = "version = \"[0-9]+.[0-9]+.[0-9]+(-alpha.[0-9]+)?\";$", replace = "version = \"{{version}}\";", exactly = 1 },
]
[package.metadata.binstall]
bin-dir = "rtx/bin/rtx"
[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/rtx-v{version}-macos-arm64{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/rtx-v{version}-macos-x64{ archive-suffix }"
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/rtx-v{version}-linux-arm64{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/rtx-v{version}-linux-x64{ archive-suffix }"