adept/Cargo.toml
Gregory Ballantine b5d96c21a9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Version bump to v0.1.2
2022-09-01 18:25:18 -04:00

43 lines
1.1 KiB
TOML

[package]
name = "adept"
description = "Bit Goblin automated video transcoding service."
version = "0.1.2"
edition = "2021"
readme = "README.md"
license = "BSD 2-Clause"
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
[dependencies]
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/adept", "usr/bin/adept", "755"],
["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"
unit-name = "adept"
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"},
{ source = "README.md", dest = "/usr/share/doc/adept/README", mode = "644"}
]
post_install_script = "build/scripts/postinst"
[package.metadata.generate-rpm.requires]
ffmpeg = ">= 4"