Skip to content

Commit

Permalink
chore: Optimize use of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lj3954 committed Aug 9, 2024
1 parent 66906ed commit ea55303
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
1 change: 0 additions & 1 deletion quickget/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ quickemu-rs = { path = "../../quickemu" }
itertools = "0.13.0"
clap = { version = "4.5.4", features = ["derive"] }
clap-verbosity-flag = "2.2.0"
futures = "0.3.30"
reqwest = "0.12.5"
indicatif = "0.17.8"
serde_json = "1.0.122"
Expand Down
58 changes: 32 additions & 26 deletions quickget/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,40 @@ name = "quickget_core"
edition = "2021"

[dependencies]
anyhow = "1.0.86"
dirs = "5.0.1"
dirs = { version = "5.0.1", optional = true }
quickemu-rs = { path = "../../quickemu" }
reqwest = "0.12.4"
serde_json = "1.0.117"
reqwest = { version = "0.12.4", optional = true }
serde_json = { version = "1.0.117", optional = true }
serde = "1.0.202"
toml = "0.8.13"
zstd = "0.13.1"
quick_fetcher = "0.4.3"
#quick_fetcher = { path = "../../quick_fetcher" }
tokio = { version = "1.39.2" }
futures = "0.3.30"
env_logger = "0.11.3"
log = "0.4.21"
clap = { version = "4.5.4", features = ["derive"] }
clap-verbosity-flag = "2.2.0"
which = "6.0.1"
thiserror = "1.0.63"
portable-pty = "0.8.1"
num_cpus = "1.16.0"
sysinfo = "0.31.2"
md-5 = "0.10.6"
sha2 = "0.10.8"
sha1 = "0.10.6"
bzip2 = "0.4.4"
flate2 = "1.0.31"
liblzma = "0.3.3"
toml = { version = "0.8.13", optional = true }
which = { version = "6.0.1", optional = true }
thiserror = { version = "1.0.63", optional = true }
num_cpus = { version = "1.16.0", optional = true }
sysinfo = { version = "0.31.2", optional = true }
md-5 = { version = "0.10.6", optional = true }
sha2 = { version = "0.10.8", optional = true }
sha1 = { version = "0.10.6", optional = true }
bzip2 = { version = "0.4.4", optional = true }
flate2 = { version = "1.0.31", optional = true }
liblzma = { version = "0.3.3", optional = true }
zstd = { version = "0.13.1", optional = true }

[features]
default = ["quickget"]
quickget = []
quickget = [
"dirs",
"reqwest",
"serde_json",
"toml",
"which",
"thiserror",
"num_cpus",
"sysinfo",
"md-5",
"sha2",
"sha1",
"bzip2",
"flate2",
"liblzma",
"zstd",
]

0 comments on commit ea55303

Please sign in to comment.