ffplayout/Cargo.toml

109 lines
3.3 KiB
TOML
Raw Normal View History

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-06-15 11:32:39 -04:00
version = "0.9.9"
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" }
clap = { version = "3.2", features = ["derive"] }
crossbeam-channel = "0.5"
2022-06-09 16:17:03 -04:00
derive_more = "0.99"
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" }
futures = "0.3"
2022-04-05 11:07:34 -04:00
jsonrpc-http-server = "18.0"
2022-06-08 12:06:40 -04:00
jsonwebtoken = "8"
2022-06-13 08:02:55 -04:00
lettre = "0.10.0-rc.7"
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-06-20 16:19:41 -04:00
relative-path = "1.6"
regex = "1"
2022-06-17 10:21:03 -04:00
reqwest = { version = "0.11", features = ["blocking", "json"] }
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"
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"
] }
time = { version = "0.3", features = ["formatting", "macros"] }
2022-02-23 15:25:14 -05:00
walkdir = "2"
zeromq = { git = "https://github.com/zeromq/zmq.rs.git", default-features = false, features = [
"async-std-runtime",
"tcp-transport"
] }
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]
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."
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"
],
[
"target/x86_64-unknown-linux-musl/release/ffpapi",
"/usr/bin/ffpapi",
"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"],
]
maintainer-scripts = "debian/"
systemd-units = { enable = false, unit-scripts = "assets" }
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 = "target/x86_64-unknown-linux-musl/release/ffpapi", dest = "/usr/bin/ffpapi", mode = "755" },
{ 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" },
]