ffplayout/Cargo.toml

73 lines
2.4 KiB
TOML
Raw Normal View History

2022-02-12 16:32:51 -05:00
[package]
2022-03-08 15:22:31 -05:00
name = "ffplayout-rs"
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-11 11:47:43 -04:00
version = "0.9.2"
2022-02-12 16:32:51 -05:00
edition = "2021"
[dependencies]
chrono = "0.4"
2022-03-28 09:59:58 -04:00
clap = { version = "3.1", features = ["derive"] }
2022-02-15 11:27:06 -05:00
ffprobe = "0.3"
2022-03-28 09:59:58 -04:00
file-rotate = "0.6"
2022-04-05 11:07:34 -04:00
jsonrpc-http-server = "18.0"
2022-04-02 16:15:30 -04:00
lettre = "0.10.0-rc.5"
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"
regex = "1"
2022-02-23 15:25:14 -05:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.8"
shlex = "1.1"
2022-03-28 09:59:58 -04:00
simplelog = { version = "^0.11", features = ["paris"] }
tokio = { version = "1.16", features = ["rt-multi-thread"] }
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]
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"
license-file = ["LICENSE", "3"]
depends = ""
suggests = "ffmpeg"
maintainer-scripts = "package/debian/"
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"],
["package/common/ffplayout-engine.service.preset", "/lib/systemd/system-preset/50-ffplayout-engine.preset", "644"],
]
systemd-units = { unit-name = "ffplayout-engine", unit-scripts = "package/common", enable = false }
# 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" },
{ source = "package/common/ffplayout-engine.service", dest = "/lib/systemd/system/ffplayout-engine.service", mode = "644" },
{ 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" },
]