-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
88 lines (76 loc) · 2.44 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
[package]
name = "hygeia"
version = "0.4.0"
authors = ["Nicolas Bigaouette <[email protected]>"]
homepage = "https://github.com/nbigaouette/hygeia"
repository = "https://github.com/nbigaouette/hygeia"
edition = "2021"
description = "Python toolchain manager 🐍"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/hygeia"
readme = "README.md"
keywords = ["python"]
categories = ["command-line-utilities", "development-tools"]
[badges]
codecov = { repository = "https://github.com/nbigaouette/hygeia", branch = "master", service = "github" }
maintenance = { status = "actively-developed" }
[workspace]
members = ["xtask", "tests/print_file_to_stdout", "hygeia_test_helpers"]
[dependencies]
console = "0.15"
chrono = { version = "0.4", features = ["serde"] }
dirs-next = "2"
env_logger = "0.9"
anyhow = "1.0"
flate2 = "1.0"
git-testament = "0.2"
indicatif = "0.16"
lazy_static = "1"
log = "0.4"
prettytable-rs = "0.8"
question = "0.2"
regex = "1"
select = "0.5"
self_update = { version = "0.29", optional = true, default-features = false, features = [
"archive-zip",
] }
semver = { version = "1.0.7", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
structopt = "0.3"
thiserror = "1.0"
tar = "0.4"
terminal_size = "0.1"
url = { version = "2", features = ["serde"] }
shlex = "1.0"
# Used for downloading
hyper = { version = "0.14", features = ["client", "http1"] }
hyper-tls = "0.5"
tokio = { version = "1.4", features = ["rt", "rt-multi-thread"] }
async-trait = "0.1"
bytes = "1.0"
futures = "0.3"
# On Windows
zip = { version = "0.6", default-features = false, features = ["deflate"] }
[dev-dependencies]
mockall = "0.11"
assert_cmd = "2"
predicates = "2"
indoc = "1"
hygeia_test_helpers = { path = "hygeia_test_helpers" }
rstest = "0.12"
which = "4.2.5"
# pretty_assertions = "0.6"
[target.'cfg(not(target_os = "windows"))'.dev-dependencies.users]
version = "0.11"
default_features = false
# On Linux (musl), use the openssl 'vendored' feature to build a static version of OpenSSL.
# See:
# https://docs.rs/openssl/0.10.26/openssl/#vendored
# https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
# https://doc.rust-lang.org/reference/conditional-compilation.html#target_env
[target.'cfg(all(target_os = "linux", target_env = "musl"))'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[features]
default = ["self-update"]
self-update = ["self_update"]