2022-08-31 16:14:41 -04:00
|
|
|
[package]
|
2022-09-02 02:04:07 -04:00
|
|
|
name = "zealot"
|
2022-09-01 12:35:39 -04:00
|
|
|
description = "Bit Goblin automated video transcoding service."
|
2022-10-26 10:15:55 -04:00
|
|
|
version = "0.2.1"
|
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]
|
2022-10-21 19:21:52 -04:00
|
|
|
clap = { version = "3.2", features = ['derive'] }
|
2022-09-15 18:10:42 -04:00
|
|
|
config = { version = "0.13", features = ['toml'] }
|
2022-09-01 16:16:27 -04:00
|
|
|
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"
|
2022-09-01 15:30:23 -04:00
|
|
|
maintainer-scripts = "build/scripts"
|
2022-09-01 12:35:39 -04:00
|
|
|
depends = "ffmpeg (>= 4)"
|
|
|
|
section = "video"
|
|
|
|
assets = [
|
2022-09-02 02:04:07 -04:00
|
|
|
["target/release/zealot", "usr/bin/zealot", "755"],
|
|
|
|
["build/etc/example.toml", "etc/zealot/example.toml", "644"],
|
2022-10-26 09:58:46 -04:00
|
|
|
["build/etc/log4rs.yaml", "etc/zealot/log4rs.yaml", "755"],
|
2022-09-02 02:04:07 -04:00
|
|
|
["README.md", "usr/share/doc/zealot/README", "644"]
|
2022-09-01 12:35:39 -04:00
|
|
|
]
|
|
|
|
[package.metadata.deb.systemd-units]
|
2022-09-01 13:33:41 -04:00
|
|
|
unit-scripts = "build/debian/service"
|
2022-09-02 02:04:07 -04:00
|
|
|
unit-name = "zealot"
|
2022-09-01 12:35:39 -04:00
|
|
|
enable = true
|
|
|
|
start = true
|
|
|
|
|
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
assets = [
|
2022-09-02 02:04:07 -04:00
|
|
|
{ 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
|
|
|
]
|
2022-09-01 15:30:23 -04:00
|
|
|
post_install_script = "build/scripts/postinst"
|
2022-09-01 12:35:39 -04:00
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
ffmpeg = ">= 4"
|