Nathan Fisher
f4e87ee500
This commit brings the cli `hpk` binary back into the `hpk` crate and places it behind a feature flag, enabling development to take place in a single repository.
60 lines
1.1 KiB
TOML
60 lines
1.1 KiB
TOML
[package]
|
|
name = "hpk"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-only"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
cli = ["clap", "indicatif", "package-bootstrap"]
|
|
bootstrap = ["cli", "package-bootstrap"]
|
|
|
|
[[bin]]
|
|
name = "hpk"
|
|
path = "src/hpk.rs"
|
|
required-features = ["cli"]
|
|
|
|
[[bin]]
|
|
name = "bootstrap"
|
|
path = "src/bootstrap.rs"
|
|
required-features = ["bootstrap"]
|
|
|
|
[dependencies]
|
|
hpk-package = { git = "https://git.hitchhiker-linux.org/jeang3nie/hpk-package.git" }
|
|
rayon = "1.7"
|
|
ron = "0.8"
|
|
walkdir = "2.3"
|
|
zstd = "0.12"
|
|
|
|
[dependencies.clap]
|
|
version = "4.1"
|
|
optional = true
|
|
|
|
[dependencies.indicatif]
|
|
version = "0.17"
|
|
features = ["improved_unicode", "vt100"]
|
|
optional = true
|
|
|
|
[dependencies.package-bootstrap]
|
|
version = "0.2"
|
|
features = ["mangen"]
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.url]
|
|
version = "2.3"
|
|
features = ["serde"]
|
|
|
|
[dependencies.ureq]
|
|
version = "2.6.2"
|
|
features = ["tls", "socks-proxy", "native-certs"]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
strip = true
|