2023-07-02 00:44:39 -04:00
|
|
|
[package]
|
2023-07-04 21:04:15 -04:00
|
|
|
name = "haggis"
|
2023-07-02 00:44:39 -04:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2023-07-05 10:01:40 -04:00
|
|
|
[features]
|
2023-07-05 14:27:40 -04:00
|
|
|
parallel = ["dep:rayon"]
|
2023-12-30 23:40:57 -05:00
|
|
|
color = ["dep:termcolor"]
|
2024-02-22 19:15:04 -05:00
|
|
|
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"]
|
2023-07-02 00:44:39 -04:00
|
|
|
|
|
|
|
[dependencies]
|
2023-12-30 19:01:37 -05:00
|
|
|
chrono = "0.4"
|
2023-07-05 10:01:40 -04:00
|
|
|
libc = "0.2"
|
2023-07-02 22:52:26 -04:00
|
|
|
md-5 = "0.10"
|
|
|
|
sha1 = "0.10"
|
|
|
|
sha2 = "0.10"
|
2024-02-22 19:15:04 -05:00
|
|
|
|
|
|
|
[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
|