[package] name = "cargo-binstall" description = "Rust binary package installer for CI integration" repository = "https://github.com/ryankurte/cargo-binstall" documentation = "https://docs.rs/cargo-binstall" version = "0.9.1" rust-version = "1.61.0" authors = ["ryan "] edition = "2021" license = "GPL-3.0" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ format }" bin-dir = "{ bin }{ format }" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] pkg-fmt = "zip" [package.metadata.binstall.overrides.x86_64-apple-darwin] pkg-fmt = "zip" [dependencies] async-trait = "0.1.56" cargo_metadata = "0.14.2" cargo_toml = "0.11.4" clap = { version = "3.1.18", features = ["derive"] } crates_io_api = { version = "0.8.0", default-features = false, features = ["rustls"] } dirs = "4.0.0" flate2 = { version = "1.0.24", features = ["zlib-ng"], default-features = false } log = "0.4.14" miette = { version = "4.7.1", features = ["fancy-no-backtrace"] } reqwest = { version = "0.11.10", features = [ "rustls-tls" ], default-features = false } semver = "1.0.7" serde = { version = "1.0.136", features = [ "derive" ] } simplelog = "0.12.0" strum = "0.24.0" strum_macros = "0.24.0" tar = "0.4.38" tempfile = "3.3.0" thiserror = "1.0.31" tinytemplate = "1.2.1" tokio = { version = "1.19.1", features = [ "rt-multi-thread", "process" ], default-features = false } url = "2.2.2" xz2 = "0.1.6" # Disable all features of zip except for features of compression algorithms: # Disabled features include: # - aes-crypto: Enables decryption of files which were encrypted with AES, absolutely zero use for # this crate. # - time: Enables features using the [time](https://github.com/time-rs/time) crate, # which is not used by this crate. zip = { version = "0.6.2", default-features = false, features = [ "deflate", "bzip2", "zstd" ] } # zstd is also depended by zip. # Since zip 0.6.2 depends on zstd 0.10.0, we also have to use 0.10.0 here, # otherwise there will be a link conflict. # # Enable feature bindgen to generate C bindings. # Enable feature zstdmt to enable multithreading in libzstd. zstd = { version = "0.10.0", features = [ "bindgen", "zstdmt" ], default-features = false } [target.'cfg(target_os = "macos")'.dependencies] guess_host_triple = "0.1.3" [dev-dependencies] env_logger = "0.9.0" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = "symbols"