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