[dependencies.async-compression]
features = ["gzip", "zstd", "xz", "bzip2", "tokio"]
version = "0.4.4"
[dependencies.async-trait]
version = "0.1.68"
[dependencies.binstalk-types]
version = "0.9.2"
[dependencies.bytes]
version = "1.4.0"
[dependencies.bzip2]
version = "0.4.4"
[dependencies.cfg-if]
version = "1"
[dependencies.compact_str]
version = "0.8.0"
[dependencies.flate2]
default-features = false
version = "1.0.28"
[dependencies.futures-io]
version = "0.3.30"
[dependencies.futures-util]
version = "0.3.30"
[dependencies.hickory-resolver]
features = ["dnssec-ring"]
optional = true
version = "0.25.0-alpha.3"
[dependencies.httpdate]
version = "1.0.2"
[dependencies.once_cell]
optional = true
version = "1.18.0"
[dependencies.rc-zip-sync]
features = ["deflate", "bzip2", "deflate64", "lzma", "zstd"]
version = "4.2.3"
[dependencies.reqwest]
default-features = false
features = ["http2", "stream", "zstd", "gzip", "brotli", "deflate"]
version = "0.12.5"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.163"
[dependencies.serde_json]
optional = true
version = "1.0.107"
[dependencies.tar]
package = "binstall-tar"
version = "0.4.39"
[dependencies.tempfile]
version = "3.5.0"
[dependencies.thiserror]
version = "2.0.1"
[dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread", "sync", "time", "fs"]
version = "1.35.0"
[dependencies.tokio-tar]
version = "0.3.0"
[dependencies.tokio-util]
features = ["io"]
version = "0.7.8"
[dependencies.tracing]
version = "0.1.39"
[dependencies.url]
version = "2.5.4"
[dependencies.xz2]
version = "0.1.7"
[dependencies.zstd]
default-features = false
version = "0.13.2"
[features]
__tls = []
cross-lang-fat-lto = ["zstd/fat-lto"]
default = ["static", "rustls"]
hickory-dns = ["hickory-resolver", "default-net", "ipconfig", "once_cell"]
http3 = ["reqwest/http3"]
json = ["serde", "serde_json"]
native-tls = ["__tls", "native-tls-crate", "reqwest/native-tls", "hickory-resolver?/dns-over-native-tls"]
pkg-config = ["zstd/pkg-config"]
rustls = ["__tls", "reqwest/rustls-tls", "reqwest/rustls-tls-webpki-roots", "reqwest/rustls-tls-native-roots", "hickory-resolver?/dns-over-rustls", "hickory-resolver?/dns-over-https-rustls", "hickory-resolver?/dns-over-quic", "hickory-resolver?/dns-over-h3"]
static = ["bzip2/static", "xz2/static", "native-tls-crate?/vendored"]
trust-dns = ["hickory-dns"]
zlib-ng = ["flate2/zlib-ng"]
zstd-thin = ["zstd/thin"]
[lib]
name = "binstalk_downloader"
path = "src/lib.rs"
[package]
authors = ["ryan <ryan@kurte.nz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "The binstall toolkit for downloading and extracting file"
documentation = "https://docs.rs/binstalk-downloader"
edition = "2021"
license = "Apache-2.0 OR MIT"
name = "binstalk-downloader"
readme = false
repository = "https://github.com/cargo-bins/cargo-binstall"
rust-version = "1.79.0"
version = "0.13.5"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.native-tls-crate]
optional = true
package = "native-tls"
version = "0.2.10"
[target."cfg(windows)".dependencies.default-net]
optional = true
version = "0.22.0"
[target."cfg(windows)".dependencies.ipconfig]
default-features = false
optional = true
version = "0.3.2"