-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
62 lines (57 loc) · 1.86 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
[package]
name = "dfxvm"
version = "1.0.0"
edition = "2021"
authors = ["DFINITY Stiftung <[email protected]>"]
description = "dfx version manager"
repository = "https://github.com/dfinity/dfxvm"
license = "Apache-2.0"
publish = false # don't publish to crates.io
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
backoff = { version = "0.4.0", features = [ "futures", "tokio" ] }
clap = { version = "4.4", features = [ "cargo", "derive" ] }
clap_derive = "4.4"
console = "0.15.7"
dialoguer = { version = "0.11.0", default-features = false }
directories = "5.0"
flate2 = "1.0"
futures-util = "0.3.14"
hex = "0.4.3"
indicatif = "0.15.0"
itertools = "0.11.0"
reqwest = { version = "0.12.9", default_features = false, features = [ "stream", "rustls-tls" ] }
semver = { version = "1.0", features = [ "serde" ] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
sha2 = "0.10.8"
sysinfo = "0.30.5"
tar = "0.4.40"
tempfile = "3"
thiserror = "1.0"
tokio = { version = "1.34", features = ["macros"] }
url = "2.5"
[dev-dependencies]
assert_cmd = "2.0"
httptest = "0.15.5"
predicates = "3.0"
# 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.10.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Whether to consider the binaries in a package for distribution (defaults true)
dist = true