-
Notifications
You must be signed in to change notification settings - Fork 82
/
Cargo.toml
135 lines (117 loc) · 3.61 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
124
125
126
127
128
129
130
131
132
133
134
135
[package]
name = "juliaup"
version = "1.17.6"
description = "Julia installer and version multiplexer"
repository = "https://github.com/julialang/juliaup"
license = "MIT"
keywords = ["julia"]
categories = ["command-line-utilities"]
edition = "2021"
default-run = "juliaup"
authors = ["David Anthoff <[email protected]>"]
exclude = [
".github/**",
".vscode/**",
".wix/**",
"deploy/**",
"devdocs/**",
"scripts/**",
"download_bundled_julia.ps1",
]
[profile.release]
lto = true
codegen-units = 1
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
dirs = "5.0.1"
dunce = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
semver = "1.0.18"
anyhow = "1.0.72"
tempfile = "3.12"
flate2 = "1.0"
tar = "0.4.39"
normpath = "1.3"
fs_extra = "1.3.0"
thiserror = "1.0"
indicatif = "0.17"
console = "0.15"
ctrlc = "3.4"
url = "2.4.0"
cli-table = "0.4.7"
itertools = "0.13.0"
cluFlock = "1.2.7"
chrono = { version = "0.4.26", features = ["serde"] }
human-panic = "2.0"
log = "0.4.19"
env_logger = "0.11"
dialoguer = "0.11.0"
shellexpand = "3.1.0"
env_proxy = "0.4.1"
bstr = "1.10"
indoc = "2.0.3"
is-terminal = "0.4"
path-absolutize = "3.1.0"
human-sort = "0.2.2"
regex = "1.10"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58.0", features = ["Win32_Foundation", "Win32_UI_Shell", "Win32_Security", "Win32_System_JobObjects", "Win32_System_Console", "Win32_System_Threading", "Services_Store", "Foundation", "Foundation_Collections", "Web_Http", "Web_Http_Headers", "Storage_Streams", "Management_Deployment"] }
[target.'cfg(target_os = "macos")'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "native-tls", "socks"] }
[target.'cfg(all(not(target_os = "macos"),not(windows)))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls-native-roots", "socks"] }
[target.'cfg(not(windows))'.dependencies]
nix = { version = "0.29.0", features = ["process"] }
[build-dependencies]
anyhow = "1.0.72"
itertools = "0.13.0"
serde = { version = "1.0.175", features = ["derive"] }
serde_json = "1.0.103"
semver = "1.0.18"
built = "0.7.1"
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.1"
indoc = "2.0"
predicates = "3.1"
[features]
selfupdate = []
windowsstore = []
windowsappinstaller = []
dummy = []
binjuliainstaller = []
binjulialauncher = []
winpkgidentityext = []
[package.metadata.msix]
winstoremsix = { file = "deploy/msix/PackagingLayout.xml", variables = [
{name = "FlatBundle", value="false"},
{name = "PublisherDisplayName", value="Julia Computing, Inc."},
{name = "IdentityPublisher", value = "CN=7FB784C5-4411-4067-914E-A7B06CC00FFC"}
] }
winappinstallermsix = { file = "deploy/msix/PackagingLayout.xml", variables = [
{name = "FlatBundle", value="true"},
{name = "PublisherDisplayName", value="JuliaHub, Inc."},
{name = "IdentityPublisher", value = "CN="JuliaHub, Inc.", O="JuliaHub, Inc.", L=CAMBRIDGE, S=Massachusetts, C=US"}
] }
[package.metadata.winappinstaller]
winappinstaller = "deploy/winappinstaller/Julia.appinstaller"
[package.metadata.winres]
[[bin]]
name = "julia"
path = "src/bin/julialauncher.rs"
[[bin]]
name = "julialauncher"
path = "src/bin/julialauncher.rs"
required-features = ["binjulialauncher"]
[[bin]]
name = "juliaup"
path = "src/bin/juliaup.rs"
[[bin]]
name = "juliainstaller"
path = "src/bin/juliainstaller.rs"
required-features = ["binjuliainstaller"]