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-05-30 15:43:50 -04:00
|
|
|
version = "0.9.8"
|
2022-02-12 16:32:51 -05:00
|
|
|
edition = "2021"
|
2022-05-18 11:34:46 -04:00
|
|
|
default-run = "ffplayout"
|
2022-02-12 16:32:51 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2022-06-06 17:07:11 -04:00
|
|
|
actix-web = "4"
|
2022-06-09 12:59:14 -04:00
|
|
|
actix-web-grants = "3"
|
|
|
|
actix-web-httpauth = "0.6"
|
2022-06-07 16:05:35 -04:00
|
|
|
argon2 = "0.4"
|
2022-05-15 13:27:53 -04:00
|
|
|
chrono = { git = "https://github.com/sbrocket/chrono", branch = "parse-error-kind-public" }
|
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-06-06 17:07:11 -04:00
|
|
|
faccess = "0.2"
|
2022-02-15 11:27:06 -05:00
|
|
|
ffprobe = "0.3"
|
2022-05-15 13:27:53 -04:00
|
|
|
file-rotate = { git = "https://github.com/Ploppz/file-rotate.git", branch = "timestamp-parse-fix" }
|
2022-04-05 11:07:34 -04:00
|
|
|
jsonrpc-http-server = "18.0"
|
2022-06-08 12:06:40 -04:00
|
|
|
jsonwebtoken = "8"
|
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-06-09 12:59:14 -04:00
|
|
|
once_cell = "1.10"
|
2022-03-28 09:59:58 -04:00
|
|
|
rand = "0.8"
|
2022-06-07 16:05:35 -04:00
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
2022-03-21 15:36:46 -04:00
|
|
|
regex = "1"
|
2022-06-01 03:45:31 -04:00
|
|
|
reqwest = { version = "0.11", features = ["blocking"] }
|
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-05-07 16:17:58 -04:00
|
|
|
simplelog = { version = "^0.12", features = ["paris"] }
|
2022-06-08 12:06:40 -04:00
|
|
|
sqlx = { version = "0.5", features = [
|
|
|
|
"chrono",
|
|
|
|
"runtime-actix-native-tls",
|
|
|
|
"sqlite"
|
|
|
|
] }
|
2022-05-07 16:17:58 -04:00
|
|
|
time = { version = "0.3", features = ["formatting", "macros"] }
|
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"
|
|
|
|
|
2022-06-06 17:07:11 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "ffpapi"
|
|
|
|
path = "src/bin/ffpapi.rs"
|
|
|
|
|
2022-02-12 16:32:51 -05:00
|
|
|
[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."
|
2022-05-07 16:17:58 -04:00
|
|
|
conf-files = ["/etc/ffplayout/ffplayout.yml"]
|
2022-04-12 15:39:53 -04:00
|
|
|
assets = [
|
2022-05-09 11:34:34 -04:00
|
|
|
[
|
|
|
|
"target/x86_64-unknown-linux-musl/release/ffplayout",
|
|
|
|
"/usr/bin/ffplayout",
|
|
|
|
"755"
|
|
|
|
],
|
2022-04-12 15:39:53 -04:00
|
|
|
["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" },
|
2022-05-07 16:17:58 -04:00
|
|
|
{ source = "assets/ffplayout.yml", dest = "/etc/ffplayout/ffplayout.yml", mode = "644", config = true },
|
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" },
|
|
|
|
]
|