[package] name = "pactup" version = "0.2.21" edition = "2021" license = "MIT" publish = true build = "build.rs" repository = "https://github.com/kadena-community/pactup" description = "Fast and simple Pact version manager" [dependencies] anyhow = { version = "1.0", features = ["backtrace"] } chrono = { version = "0.4", features = ["now", "serde"], default-features = false } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } reqwest = { version = "0.12", features = [ "blocking", "brotli", "json", "rustls-tls", "rustls-tls-native-roots", ], default-features = false } url = { version = "2.5", features = ["serde"] } clap = { version = "4.5", features = ["derive", "env"] } clap_complete = "4.5" colored = "2.1" etcetera = "0.8" encoding_rs_io = "0.1" env_logger = "0.11" indoc = "2.0" log = "0.4" node-semver = "2.1" sysinfo = "0.32" tar = "0.4" tempfile = "3.14" thiserror = "2.0" zip = "2.2" duct = "0.13" pretty_assertions = "1.4" test-log = "0.2" flate2 = "1.0" walkdir = "2.5" indicatif = { version = "0.17", features = ["improved_unicode"] } regex = "1.11" xz2 = "0.1" miette = { version = "7.2.0", features = ["fancy"] } [dev-dependencies] pretty_assertions = "1.4" duct = "0.13" test-log = "0.2" http = "1.1" [build-dependencies] embed-resource = "3" [target.'cfg(windows)'.dependencies] csv = "1.3" junction = "1.2" [profile.dev] codegen-units = 16 # debug build will cause runtime panic if codegen-unints is default debug = 2 incremental = true panic = "abort" [profile.release] codegen-units = 1 debug = false lto = "thin" # Performs “thin” LTO. This is similar to “fat”, but takes substantially less time to run while still achieving performance gains similar to “fat”. opt-level = 3 panic = "abort" strip = true [package.metadata.cargo-shear] ignored = ["csv", "junction"] [package.metadata.binstall] pkg-url = "{ repo }/releases/download/pactup_v{ version }/{ name }-{ target-family }-{ target-arch }-{ target-libc }.tar.gz" bin-dir = "{ name }-{ target-family }-{ target-arch }-{ target-libc }{ binary-ext }" pkg-fmt = "tgz"