# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "cargo-prebuilt" version = "0.7.4-dev.0" authors = ["harmless-tech"] build = "build.rs" include = [ "keys/", "src/", "build.rs", "Cargo.lock", "Cargo.toml", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Download prebuilt crate binaries for many different platforms" homepage = "https://github.com/cargo-prebuilt/cargo-prebuilt" readme = "README.md" keywords = [ "cargo", "cargo-subcommand", "binary", ] categories = [ "development-tools", "development-tools::cargo-plugins", ] license = "MIT" repository = "https://github.com/cargo-prebuilt/cargo-prebuilt" [package.metadata.binstall] bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "tgz" pkg-url = "{ repo }/releases/download/v{ version }/{ target }.tar.gz" [package.metadata.binstall.overrides.aarch64-pc-windows-msvc] bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "zip" pkg-url = "{ repo }/releases/download/v{ version }/{ target }.zip" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "zip" pkg-url = "{ repo }/releases/download/v{ version }/{ target }.zip" [profile.bloat] debug = 2 inherits = "release" strip = false [profile.dev] panic = "abort" [profile.quick-build] opt-level = 1 lto = false codegen-units = 16 inherits = "release" [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 panic = "abort" strip = true [profile.small] opt-level = "s" inherits = "release" [profile.test] panic = "abort" [[bin]] name = "cargo-prebuilt" path = "src/main.rs" [dependencies.anyhow] version = "1.0.91" [dependencies.basic-toml] version = "0.1.9" [dependencies.bpaf] version = "0.9.15" features = [ "autocomplete", "bright-color", "derive", ] [dependencies.bpaf_derive] version = "0.5.13" [dependencies.const-hex] version = "1.13.1" [dependencies.directories] version = "5.0.1" [dependencies.dunce] version = "1.0.5" [dependencies.flate2] version = "1.0.34" [dependencies.home] version = "0.5.9" [dependencies.indexmap] version = "2.6.0" features = ["serde"] [dependencies.mimalloc] version = "0.1.43" optional = true [dependencies.minisign-verify] version = "0.2.2" [dependencies.native-tls] version = "0.2.12" optional = true [dependencies.owo-colors] version = "4.1.0" features = ["supports-colors"] [dependencies.serde] version = "1.0.213" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.sha2] version = "0.10.8" [dependencies.sha3] version = "0.10.8" [dependencies.tar] version = "0.4.42" [dependencies.ureq] version = "2.10.1" features = ["gzip"] default-features = false [features] default = ["default-rustls"] default-native = [ "native", "default-no-tls", ] default-no-tls = ["indexes"] default-rustls = [ "rustls", "default-no-tls", ] dl-cp-brotli = ["ureq/brotli"] github-private = [] github-public = [] indexes = [ "github-public", "github-private", ] mimalloc = ["dep:mimalloc"] native = [ "native-tls", "ureq/native-tls", ] rustls = ["ureq/tls"] rustls-native-certs = [ "rustls", "ureq/native-certs", ] vendored-openssl = [ "native", "native-tls/vendored", ] [lints.clippy] cargo = "deny" complexity = "deny" correctness = "deny" nursery = "deny" pedantic = "deny" perf = "deny" style = "deny" suspicious = "deny"