[package] name = "binstalk" description = "The binstall toolkit (library interface)" repository = "https://github.com/cargo-bins/cargo-binstall" documentation = "https://docs.rs/binstalk" version = "0.22.0" rust-version = "1.65.0" authors = ["ryan "] edition = "2021" license = "GPL-3.0-only" [dependencies] binstalk-bins = { version = "0.4.0", path = "../binstalk-bins" } binstalk-downloader = { version = "0.10.0", path = "../binstalk-downloader", default-features = false, features = ["gh-api-client"] } binstalk-fetchers = { version = "0.4.0", path = "../binstalk-fetchers", features = ["quickinstall"] } binstalk-registry = { version = "0.7.0", path = "../binstalk-registry" } binstalk-types = { version = "0.7.0", path = "../binstalk-types" } cargo-toml-workspace = { version = "5.0.0", path = "../cargo-toml-workspace" } command-group = { version = "5.0.1", features = ["with-tokio"] } compact_str = { version = "0.7.0", features = ["serde"] } detect-targets = { version = "0.1.15", path = "../detect-targets", features = ["tracing"] } either = "1.8.1" itertools = "0.12.0" jobslot = { version = "0.2.11", features = ["tokio"] } leon = { version = "3.0.0", path = "../leon" } maybe-owned = "0.3.4" miette = "7.0.0" semver = { version = "1.0.17", features = ["serde"] } simple-git = { version = "0.2.2", optional = true } strum = "0.26.1" target-lexicon = { version = "0.12.11", features = ["std"] } tempfile = "3.5.0" thiserror = "1.0.52" tokio = { version = "1.35.0", features = ["rt", "process", "sync"], default-features = false } tracing = "0.1.39" url = { version = "2.3.1", features = ["serde"] } [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"] native-tls = ["binstalk-downloader/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"]