2022-02-12 16:32:51 -05:00
|
|
|
[package]
|
2022-04-14 11:18:32 -04:00
|
|
|
name = "ffplayout-engine"
|
2022-04-10 16:05:19 -04:00
|
|
|
description = "24/7 playout based on rust and ffmpeg"
|
|
|
|
license = "GPL-3.0"
|
2022-04-12 15:39:53 -04:00
|
|
|
authors = ["Jonathan Baecker jonbae77@gmail.com"]
|
|
|
|
readme = "README.md"
|
2022-04-28 15:45:12 -04:00
|
|
|
version = "0.9.5"
|
2022-02-12 16:32:51 -05:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-02-13 15:26:41 -05:00
|
|
|
chrono = "0.4"
|
2022-03-28 09:59:58 -04:00
|
|
|
clap = { version = "3.1", features = ["derive"] }
|
2022-04-18 07:31:43 -04:00
|
|
|
crossbeam-channel = "0.5"
|
2022-02-15 11:27:06 -05:00
|
|
|
ffprobe = "0.3"
|
2022-04-29 04:20:53 -04:00
|
|
|
file-rotate = { git = "https://github.com/jb-alvarado/file-rotate.git" }
|
2022-04-05 11:07:34 -04:00
|
|
|
jsonrpc-http-server = "18.0"
|
2022-04-30 18:08:12 -04:00
|
|
|
lettre = "0.10.0-rc.6"
|
2022-03-28 09:59:58 -04:00
|
|
|
log = "0.4"
|
|
|
|
notify = "4.0"
|
2022-03-13 17:18:53 -04:00
|
|
|
once_cell = "1.10"
|
2022-03-28 09:59:58 -04:00
|
|
|
rand = "0.8"
|
2022-03-21 15:36:46 -04:00
|
|
|
regex = "1"
|
2022-02-23 15:25:14 -05:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde_yaml = "0.8"
|
2022-03-21 15:36:46 -04:00
|
|
|
shlex = "1.1"
|
2022-03-28 09:59:58 -04:00
|
|
|
simplelog = { version = "^0.11", features = ["paris"] }
|
2022-02-23 15:25:14 -05:00
|
|
|
walkdir = "2"
|
2022-02-12 16:32:51 -05:00
|
|
|
|
2022-03-15 11:16:35 -04:00
|
|
|
[target.x86_64-unknown-linux-musl.dependencies]
|
|
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
|
|
|
2022-02-12 16:32:51 -05:00
|
|
|
[[bin]]
|
|
|
|
name = "ffplayout"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[profile.release]
|
2022-03-17 06:01:12 -04:00
|
|
|
opt-level = 3
|
|
|
|
strip = true
|
2022-02-12 16:32:51 -05:00
|
|
|
lto = true
|
2022-04-12 15:39:53 -04:00
|
|
|
|
|
|
|
# DEBIAN DEB PACKAGE
|
|
|
|
[package.metadata.deb]
|
|
|
|
name = "ffplayout-engine"
|
|
|
|
priority = "optional"
|
|
|
|
section = "net"
|
2022-04-13 11:40:47 -04:00
|
|
|
license-file = ["LICENSE", "0"]
|
2022-04-12 15:39:53 -04:00
|
|
|
depends = ""
|
|
|
|
suggests = "ffmpeg"
|
|
|
|
copyright = "Copyright (c) 2022, Jonathan Baecker. All rights reserved."
|
|
|
|
assets = [
|
|
|
|
["target/x86_64-unknown-linux-musl/release/ffplayout", "/usr/bin/ffplayout", "755"],
|
|
|
|
["assets/ffplayout.yml", "/etc/ffplayout/ffplayout.yml", "644"],
|
|
|
|
["assets/logo.png", "/usr/share/ffplayout/logo.png", "644"],
|
|
|
|
["README.md", "/usr/share/doc/ffplayout-engine/README", "644"],
|
|
|
|
]
|
2022-04-13 11:40:47 -04:00
|
|
|
systemd-units = { unit-name = "ffplayout-engine", unit-scripts = "assets", enable = false }
|
2022-04-12 15:39:53 -04:00
|
|
|
|
|
|
|
# REHL RPM PACKAGE
|
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
name = "ffplayout-engine"
|
|
|
|
license = "GPL-3.0"
|
|
|
|
assets = [
|
|
|
|
{ source = "target/x86_64-unknown-linux-musl/release/ffplayout", dest = "/usr/bin/ffplayout", mode = "755" },
|
|
|
|
{ source = "assets/ffplayout.yml", dest = "/etc/ffplayout/ffplayout.yml", mode = "644" },
|
2022-04-13 11:40:47 -04:00
|
|
|
{ source = "assets/ffplayout-engine.service", dest = "/lib/systemd/system/ffplayout-engine.service", mode = "644" },
|
2022-04-12 15:39:53 -04:00
|
|
|
{ source = "README.md", dest = "/usr/share/doc/ffplayout-engine/README", mode = "644", doc = true },
|
|
|
|
{ source = "LICENSE", dest = "/usr/share/doc/ffplayout-engine/LICENSE", mode = "644" },
|
|
|
|
{ source = "assets/logo.png", dest = "/usr/share/ffplayout/logo.png", mode = "644" },
|
|
|
|
]
|