-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
90 lines (75 loc) · 2.31 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
[package]
name = "qpm_cli"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/QuestPackageManager/QPM.CLI"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# Rename binary
[[bin]]
name = "qpm"
path = "src/main.rs"
[features]
default = ["templatr", "network_test"]
templatr = ["dep:templatr"]
network_test = []
[build-dependencies]
vergen = { version = "8", features = ["build", "git", "gitcl"] }
# if you wish to disable certain features
color-eyre = { version = "0.6", default-features = false }
[dev-dependencies]
trycmd = "0.14"
[dependencies]
#qpm
qpm_package = { git = "https://github.com/QuestPackageManager/QPM.Package.git"}
qpm_qmod = { git = "https://github.com/QuestPackageManager/QPM.Qmod.git" }
qpm_arg_tokenizer = { git = "https://github.com/QuestPackageManager/QPM.arg_tokenizer.git" }
templatr = { git = "https://github.com/QuestPackageManager/templatr.git", optional = true }
# No need for tracing support
color-eyre = { version = "0.6", default-features = false }
# progress bar
pbr = "*" #{ git = "https://github.com/a8m/pb.git" }
git2 = "0.18"
#tokio fix
tokio = { version = ">=1.33", features = ["io-util", "io-std", "net", "macros"] }
bytes = "*"
reqwest = { version = "0.11", features = [
"blocking",
"json",
"default-tls",
"gzip",
"deflate",
"brotli",
"rustls-tls",
], default-features = false }
clap = { version = "4", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde-xml-rs = "0.6"
semver = { version = "1.0", features = ["serde"] }
cursed-semver-parser = { git = "https://github.com/raftario/cursed-semver-parser.git", features = [
"serde",
] }
pubgrub = "0.2"
owo-colors = "4"
dirs = "5.0.0"
keyring = "2"
zip = "0.6"
walkdir = "2"
symlink = "0.1.0"
fs_extra = "1.2"
itertools = "0.12"
stopwatch = "0.0.7"
[target.aarch64-apple-darwin.dependencies]
# Allow cross compiles
openssl = { version = "0.10", features = ["vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
[target.x86_64-apple-darwin.dependencies]
# Statically link openssl
openssl = { version = "0.10", features = ["vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
[profile.release]
opt-level = 3
lto = true
strip = "symbols"
[profile.dev.package.backtrace]
opt-level = 3