[package]
name = "binstalk"
description = "The binstall toolkit (library interface)"
repository = "https://github.com/cargo-bins/cargo-binstall"
documentation = "https://docs.rs/binstalk"
version = "0.28.14"
rust-version = "1.79.0"
authors = ["ryan <ryan@kurte.nz>"]
edition = "2021"
license = "GPL-3.0-only"
[dependencies]
binstalk-bins = { version = "0.6.5", path = "../binstalk-bins" }
binstalk-downloader = { version = "0.13.5", path = "../binstalk-downloader", default-features = false }
binstalk-git-repo-api = { version = "0.5.7", path = "../binstalk-git-repo-api" }
binstalk-fetchers = { version = "0.10.5", path = "../binstalk-fetchers", features = [
"quickinstall",
] }
binstalk-registry = { version = "0.11.5", path = "../binstalk-registry" }
binstalk-types = { version = "0.9.2", path = "../binstalk-types" }
cargo-toml-workspace = { version = "6.0.3", path = "../cargo-toml-workspace" }
command-group = { version = "5.0.1", features = ["with-tokio"] }
compact_str = { version = "0.8.0", features = ["serde"] }
detect-targets = { version = "0.1.30", path = "../detect-targets", features = [
"tracing",
] }
either = "1.11.0"
itertools = "0.13.0"
jobslot = { version = "0.2.11", features = ["tokio"] }
leon = "3.0.0"
maybe-owned = "0.3.4"
miette = "7.0.0"
semver = { version = "1.0.17", features = ["serde"] }
simple-git = { version = "0.2.10", optional = true }
strum = "0.26.1"
target-lexicon = { version = "0.12.11", features = ["std"] }
tempfile = "3.5.0"
thiserror = "2.0.1"
tokio = { version = "1.35.0", features = [
"rt",
"process",
"sync",
"time",
], default-features = false }
tracing = "0.1.39"
url = { version = "2.5.4", features = ["serde"] }
zeroize = "1.8.1"
[features]
default = ["static", "rustls", "git"]
git = ["binstalk-registry/git", "simple-git"]
git-max-perf = ["git", "simple-git/git-max-perf"]
static = ["binstalk-downloader/static"]
pkg-config = ["binstalk-downloader/pkg-config"]
zlib-ng = ["binstalk-downloader/zlib-ng"]
rustls = ["binstalk-downloader/rustls", "binstalk-registry/rustls"]
native-tls = ["binstalk-downloader/native-tls", "binstalk-registry/native-tls"]
trust-dns = ["binstalk-downloader/trust-dns"]
http3 = ["binstalk-downloader/http3"]
zstd-thin = ["binstalk-downloader/zstd-thin"]
cross-lang-fat-lto = ["binstalk-downloader/cross-lang-fat-lto"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]