warcat/Cargo.toml

39 lines
1.2 KiB
TOML

[package]
name = "warcat"
version = "0.1.0"
edition = "2021"
authors = [ "Zachary D. Rowitsch <rowitsch@yahoo.com>" ]
license = "MIT"
description = "A command-line tool for working with WARC files."
homepage = "https://code.moldybits.net/moldybits/warcat"
repository = "https://code.moldybits.net/moldybits/warcat.git"
[dependencies]
warc = "0.3.1"
clap = { version = "4.4.8", features = ["derive"] }
indicatif = "0.17.7"
sanitize-filename = "0.5.0"
url = "2.4.1"
sha1_smol = "1.0.0"
gzp = "0.11.3"
regex = "1.10.2"
[build-dependencies]
clap = { version = "4.4.8", features = ["derive"] }
clap_complete = "4.4.4"
clap_mangen = "0.2.15"
[package.metadata.deb]
assets = [
[ "target/release/warcat", "/usr/bin/warcat", "755" ],
[ "target/assets/warcat.1", "/usr/share/man/man1/warcat.1", "644" ],
[ "target/assets/warcat.bash", "/usr/share/bash-completion/completions/warcat", "644" ]
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/warcat", dest = "/usr/bin/warcat", mode = "755" },
{ source = "target/assets/warcat.1", dest = "/usr/share/man/man1/warcat.1", mode = "644" },
{ source = "target/assets/warcat.bash", dest = "/etc/bash_completion.d/warcat.bash", mode = "644" }
]