64 lines
1.1 KiB
TOML
64 lines
1.1 KiB
TOML
[package]
|
|
name = "haggis"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
parallel = ["dep:rayon"]
|
|
color = ["dep:termcolor"]
|
|
bin = ["dep:clap", "dep:indicatif", "dep:walkdir", "dep:zstd", "parallel", "color"]
|
|
bootstrap = ["bin", "dep:package-bootstrap"]
|
|
|
|
[[bin]]
|
|
name = "haggis"
|
|
path = "src/haggis.rs"
|
|
required-features = ["bin"]
|
|
|
|
[[bin]]
|
|
name = "bootstrap"
|
|
path = "src/bootstrap.rs"
|
|
required-features = ["bootstrap"]
|
|
|
|
[dependencies]
|
|
chrono = "0.4"
|
|
libc = "0.2"
|
|
md-5 = "0.10"
|
|
sha1 = "0.10"
|
|
sha2 = "0.10"
|
|
|
|
[dependencies.clap]
|
|
version = "4.3"
|
|
optional = true
|
|
|
|
[dependencies.indicatif]
|
|
version = "0.17"
|
|
features = ["improved_unicode", "vt100"]
|
|
optional = true
|
|
|
|
[dependencies.package-bootstrap]
|
|
version = "0.4"
|
|
features = ["mangen"]
|
|
optional = true
|
|
|
|
[dependencies.rayon]
|
|
version = "1.8"
|
|
optional = true
|
|
|
|
[dependencies.termcolor]
|
|
version = "1.4"
|
|
optional = true
|
|
|
|
[dependencies.walkdir]
|
|
version = "2.3"
|
|
optional = true
|
|
|
|
[dependencies.zstd]
|
|
version = "0.13"
|
|
optional = true
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
strip = true
|