67 lines
1.1 KiB
TOML
67 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]
|
|
deku = "0.16"
|
|
libc = "0.2"
|
|
rayon = "1.7"
|
|
ron = "0.8"
|
|
sha2 = "0.10"
|
|
thiserror = "1.0"
|
|
walkdir = "2.3"
|
|
zstd = "0.12"
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4"
|
|
features = ["serde"]
|
|
|
|
[dependencies.clap]
|
|
version = "4.2"
|
|
optional = true
|
|
|
|
[dependencies.indicatif]
|
|
version = "0.17"
|
|
features = ["improved_unicode", "vt100"]
|
|
optional = true
|
|
|
|
[dependencies.package-bootstrap]
|
|
version = "0.3"
|
|
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
|