[package] name = "zealot" description = "Bit Goblin automated video transcoding service." version = "0.1.3" edition = "2021" readme = "README.md" license = "BSD 2-Clause" authors = ["Gregory Ballantine "] [dependencies] config = { version = "0.13", features = ['toml'] } log = "0.4" log4rs = "1.1" toml = "0.5" serde = "1.0" serde_derive = "1.0" shellexpand = "2.1" [package.metadata.deb] license-file = "LICENSE" maintainer-scripts = "build/scripts" depends = "ffmpeg (>= 4)" section = "video" assets = [ ["target/release/zealot", "usr/bin/zealot", "755"], ["build/etc/example.toml", "etc/zealot/example.toml", "644"], ["README.md", "usr/share/doc/zealot/README", "644"] ] [package.metadata.deb.systemd-units] unit-scripts = "build/debian/service" unit-name = "zealot" 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"} ] post_install_script = "build/scripts/postinst" [package.metadata.generate-rpm.requires] ffmpeg = ">= 4"