Zealot/Cargo.toml

43 lines
1.1 KiB
TOML
Raw Normal View History

2022-08-31 16:14:41 -04:00
[package]
name = "adept"
2022-09-01 12:35:39 -04:00
description = "Bit Goblin automated video transcoding service."
2022-09-01 18:25:18 -04:00
version = "0.1.2"
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]
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 = [
2022-09-01 13:01:20 -04:00
["target/release/adept", "usr/bin/adept", "755"],
2022-09-01 12:35:39 -04:00
["build/etc/example.toml", "etc/adept/example.toml", "644"],
["README.md", "usr/share/doc/adept/README", "644"]
]
[package.metadata.deb.systemd-units]
unit-scripts = "build/debian/service"
2022-09-01 13:50:29 -04:00
unit-name = "adept"
2022-09-01 12:35:39 -04:00
enable = true
start = true
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/adept", dest = "/usr/bin/adept", mode = "755" },
{ source = "build/etc/example.toml", dest = "/etc/adept/example.toml", mode = "755"},
2022-09-01 12:52:11 -04:00
{ source = "README.md", dest = "/usr/share/doc/adept/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"