[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.26" rust-version = "1.79.0" authors = ["ryan "] edition = "2021" license = "GPL-3.0-only" [dependencies] binstalk-bins = { version = "0.6.11", path = "../binstalk-bins" } binstalk-downloader = { version = "0.13.12", path = "../binstalk-downloader", default-features = false } binstalk-git-repo-api = { version = "0.5.14", path = "../binstalk-git-repo-api" } binstalk-fetchers = { version = "0.10.13", path = "../binstalk-fetchers", features = [ "quickinstall", ] } binstalk-registry = { version = "0.11.13", path = "../binstalk-registry" } binstalk-types = { version = "0.9.3", path = "../binstalk-types" } cargo-toml-workspace = { version = "7.0.4", 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.42", path = "../detect-targets", features = [ "tracing", ] } either = "1.11.0" itertools = "0.14.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.27.0" target-lexicon = { version = "0.13.0", features = ["std"] } tempfile = "3.5.0" thiserror = "2.0.11" 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"] # Experimental HTTP/3 client, this would require `--cfg reqwest_unstable` # to be passed to `rustc`. 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"]