2022-06-21 23:10:38 +02:00
|
|
|
[package]
|
|
|
|
name = "ffplayout-api"
|
|
|
|
description = "Rest API for ffplayout"
|
|
|
|
readme = "README.md"
|
2023-02-03 09:32:05 +01:00
|
|
|
version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
edition.workspace = true
|
2022-06-21 23:10:38 +02:00
|
|
|
|
2024-02-08 08:13:53 +01:00
|
|
|
[features]
|
|
|
|
default = ["embed_frontend"]
|
|
|
|
embed_frontend = []
|
|
|
|
|
2022-06-21 23:10:38 +02:00
|
|
|
[dependencies]
|
|
|
|
ffplayout-lib = { path = "../lib" }
|
2022-07-24 19:23:52 +02:00
|
|
|
actix-files = "0.6"
|
2023-08-08 21:10:30 +02:00
|
|
|
actix-multipart = "0.6"
|
2022-06-21 23:10:38 +02:00
|
|
|
actix-web = "4"
|
2023-12-02 21:16:44 +01:00
|
|
|
actix-web-grants = "4"
|
2023-08-08 21:10:30 +02:00
|
|
|
actix-web-httpauth = "0.8"
|
2023-10-31 23:43:33 +01:00
|
|
|
actix-web-static-files = "4.0"
|
2023-08-08 21:10:30 +02:00
|
|
|
argon2 = "0.5"
|
2023-06-19 20:48:50 +02:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
2023-06-19 16:57:25 +02:00
|
|
|
clap = { version = "4.3", features = ["derive"] }
|
2022-06-21 23:10:38 +02:00
|
|
|
derive_more = "0.99"
|
|
|
|
faccess = "0.2"
|
2022-06-22 18:00:31 +02:00
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
2023-11-08 08:40:48 +01:00
|
|
|
jsonwebtoken = "9"
|
2023-11-07 13:45:43 +01:00
|
|
|
lazy_static = "1.4"
|
2022-12-06 08:11:18 +01:00
|
|
|
lexical-sort = "0.3"
|
2024-02-23 10:54:59 +01:00
|
|
|
local-ip-address = "0.6"
|
2023-08-08 21:10:30 +02:00
|
|
|
once_cell = "1.18"
|
2023-10-31 23:43:33 +01:00
|
|
|
path-clean = "1.0"
|
2022-06-21 23:10:38 +02:00
|
|
|
rand = "0.8"
|
2022-11-13 17:34:01 +01:00
|
|
|
regex = "1"
|
2023-08-08 21:10:30 +02:00
|
|
|
relative-path = "1.8"
|
2024-03-23 23:36:35 +01:00
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
|
2023-08-08 21:10:30 +02:00
|
|
|
rpassword = "7.2"
|
|
|
|
sanitize-filename = "0.5"
|
2022-06-21 23:10:38 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-02-09 11:58:59 +01:00
|
|
|
serde_yaml = "0.9"
|
2023-08-08 21:10:30 +02:00
|
|
|
simplelog = { version = "0.12", features = ["paris"] }
|
2023-10-31 23:43:33 +01:00
|
|
|
static-files = "0.2"
|
2023-12-23 23:13:54 +01:00
|
|
|
sysinfo ={ version = "0.30", features = ["linux-netdevs"] }
|
2023-07-04 08:00:18 +02:00
|
|
|
sqlx = { version = "0.7", features = ["runtime-tokio", "sqlite"] }
|
2023-08-08 21:10:30 +02:00
|
|
|
tokio = { version = "1.29", features = ["full"] }
|
2022-06-23 23:19:45 +02:00
|
|
|
|
2023-10-31 23:43:33 +01:00
|
|
|
[build-dependencies]
|
|
|
|
static-files = "0.2"
|
|
|
|
|
2022-06-23 23:19:45 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "ffpapi"
|
|
|
|
path = "src/main.rs"
|