mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 21:18:42 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [compact_str](https://github.com/ParkMyCar/compact_str) from 0.6.1 to 0.7.0. - [Release notes](https://github.com/ParkMyCar/compact_str/releases) - [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md) - [Commits](https://github.com/ParkMyCar/compact_str/commits) --- updated-dependencies: - dependency-name: compact_str dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
73 lines
2.5 KiB
TOML
73 lines
2.5 KiB
TOML
[package]
|
|
name = "binstalk-downloader"
|
|
description = "The binstall toolkit for downloading and extracting file"
|
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
|
documentation = "https://docs.rs/binstalk-downloader"
|
|
version = "0.3.3"
|
|
rust-version = "1.65.0"
|
|
authors = ["ryan <ryan@kurte.nz>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.64"
|
|
async-compression = { version = "0.3.15", features = ["gzip", "zstd", "xz", "bzip2", "tokio"] }
|
|
async_zip = { version = "0.0.9", features = ["deflate", "bzip2", "lzma", "zstd", "xz"] }
|
|
binstalk-types = { version = "0.2.1", path = "../binstalk-types" }
|
|
bytes = "1.4.0"
|
|
bzip2 = "0.4.4"
|
|
compact_str = "0.7.0"
|
|
digest = "0.10.6"
|
|
flate2 = { version = "1.0.25", default-features = false }
|
|
futures-lite = { version = "1.12.0", default-features = false }
|
|
generic-array = "0.14.6"
|
|
httpdate = "1.0.2"
|
|
reqwest = { version = "0.11.14", features = ["stream", "gzip", "brotli", "deflate"], default-features = false }
|
|
# Use a fork here since we need PAX support, but the upstream
|
|
# does not hav the PR merged yet.
|
|
#
|
|
#tar = "0.4.38"
|
|
tar = { package = "binstall-tar", version = "0.4.39" }
|
|
tempfile = "3.3.0"
|
|
thiserror = "1.0.38"
|
|
tokio = { version = "1.25.0", features = ["macros", "rt-multi-thread", "sync", "time", "fs"], default-features = false }
|
|
tokio-tar = "0.3.0"
|
|
tokio-util = { version = "0.7.7", features = ["io"] }
|
|
tower = { version = "0.4.13", features = ["limit", "util"] }
|
|
tracing = "0.1.37"
|
|
trust-dns-resolver = { version = "0.22.0", optional = true, default-features = false, features = ["dnssec-ring"] }
|
|
url = "2.3.1"
|
|
|
|
xz2 = "0.1.7"
|
|
|
|
# zstd is also depended by zip.
|
|
# Since zip 0.6.3 depends on zstd 0.11, we can use 0.12.0 here
|
|
# because it uses the same zstd-sys version.
|
|
# Otherwise there will be a link conflict.
|
|
zstd = { version = "0.12.3", default-features = false }
|
|
|
|
[features]
|
|
default = ["static", "rustls"]
|
|
|
|
static = ["bzip2/static", "xz2/static"]
|
|
pkg-config = ["zstd/pkg-config"]
|
|
|
|
zlib-ng = ["flate2/zlib-ng"]
|
|
|
|
rustls = [
|
|
"reqwest/rustls-tls",
|
|
|
|
# Enable the following features only if trust-dns-resolver is enabled.
|
|
"trust-dns-resolver?/dns-over-rustls",
|
|
# trust-dns-resolver currently supports https with rustls
|
|
"trust-dns-resolver?/dns-over-https-rustls",
|
|
"trust-dns-resolver?/dns-over-quic",
|
|
]
|
|
native-tls = ["reqwest/native-tls", "trust-dns-resolver?/dns-over-native-tls"]
|
|
|
|
# Enable trust-dns-resolver so that features on it will also be enabled.
|
|
trust-dns = ["trust-dns-resolver", "reqwest/trust-dns"]
|
|
|
|
zstd-thin = ["zstd/thin"]
|
|
|
|
cross-lang-fat-lto = ["zstd/fat-lto"]
|