#cargo-features = ["strip"] [package] name = "apk-tools-rs" version = "0.0.0" edition = "2021" authors = ["Jakub Panek "] description = "Alpine Package Keeper written in Rust" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/panekj/apk-tools-rs.git" homepage = "https://github.com/panekj/apk-tools-rs.git" keywords = ["apk", "alpine", "package", "manager"] categories = ["command-line-utilities"] [lib] name = "apk" path = "src/lib/mod.rs" crate-type = ["lib"] [[bin]] name = "apk" path = "src/bin/apk.rs" edition = "2021" [features] default = ["completions", "pretty"] completions = ["clap_complete"] pretty = ["log", "pretty_env_logger", "clap/color", "clap/wrap_help"] miniz-sys = ["flate2/miniz-sys"] zlib = ["flate2/zlib"] [dependencies] #futures = { version = "0.3.*" } #tokio = { version = "1", features = ["full"] } url = { version = "2.2.2" } tar = { version = "0.4.38", default-features = false } blake3 = { version = "1.1" } flate2 = { version = "1.0.22" } pretty_env_logger = { version = "0.4.0", optional = true } [patch.crates-io] pretty_env_logger = { git = "https://github.com/panekj/pretty-env-logger-fork" } [dependencies.minreq] version = "2.4.2" features = ["https-rustls", "https-rustls-probe", "proxy"] [dependencies.clap] version = "3.0.1" default-features = false features = ["std", "unicode", "cargo", "unstable-replace"] [dependencies.clap_complete] version = "3.0.1" optional = true [dependencies.log] version = "0.4.14" optional = true # #[dependencies.pretty_env_logger] #git = "https://github.com/panekj/pretty-env-logger-fork" #rev = "095cc20ae846776146f925a1e19e4feed2ffc74c" #optional = true [dependencies.reqwest] version = "0.11.8" features = ["blocking", "rustls-tls", "gzip", "brotli", "deflate"] default-features = false [profile.release] opt-level = 's' lto = true codegen-units = 1 #strip = "symbols" debug = false panic = "abort"