Zealot/Cargo.toml

47 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2022-08-31 16:14:41 -04:00
[package]
name = "zealot"
2022-09-01 12:35:39 -04:00
description = "Bit Goblin automated video transcoding service."
2022-10-26 20:13:29 -04:00
version = "0.2.3"
2022-08-31 16:14:41 -04:00
edition = "2021"
2022-09-01 12:35:39 -04:00
readme = "README.md"
license = "BSD 2-Clause"
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
2022-08-31 16:14:41 -04:00
[dependencies]
clap = { version = "3.2", features = ['derive'] }
config = { version = "0.13", features = ['toml'] }
filetime = "0.2"
log = "0.4"
log4rs = "1.1"
2022-08-31 16:14:41 -04:00
toml = "0.5"
serde = "1.0"
serde_derive = "1.0"
shellexpand = "2.1"
2022-09-01 12:35:39 -04:00
[package.metadata.deb]
license-file = "LICENSE"
maintainer-scripts = "build/scripts"
2022-09-01 12:35:39 -04:00
depends = "ffmpeg (>= 4)"
section = "video"
assets = [
["target/release/zealot", "usr/bin/zealot", "755"],
["build/etc/example.toml", "etc/zealot/example.toml", "644"],
["build/etc/log4rs.yaml", "etc/zealot/log4rs.yaml", "755"],
["README.md", "usr/share/doc/zealot/README", "644"]
2022-09-01 12:35:39 -04:00
]
[package.metadata.deb.systemd-units]
unit-scripts = "build/debian/service"
unit-name = "zealot"
2022-09-01 12:35:39 -04:00
enable = true
start = true
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/zealot", dest = "/usr/bin/zealot", mode = "755" },
{ source = "build/etc/example.toml", dest = "/etc/zealot/example.toml", mode = "755"},
{ source = "README.md", dest = "/usr/share/doc/zealot/README", mode = "644"}
2022-09-01 12:35:39 -04:00
]
post_install_script = "build/scripts/postinst"
2022-09-01 12:35:39 -04:00
[package.metadata.generate-rpm.requires]
ffmpeg = ">= 4"