37 lines
987 B
TOML
37 lines
987 B
TOML
[package]
|
|
name = "server"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-Clink-arg=-fuse-ld=/usr/local/bin/mold", "-Clink-arg=-Wl,--no-rosegment"]
|
|
|
|
[[bin]]
|
|
name = "rtmp-to-whip"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
async-broadcast = "0.7.2"
|
|
bytes = "1"
|
|
dashmap = "6.2.1"
|
|
rand = "0.10.1"
|
|
rml_rtmp = "0.8.0"
|
|
str0m = "0.20.0"
|
|
tokio = { version = "1", features = ["full"] }
|
|
axum = "0.8"
|
|
serde = { version = "1.0.228", features = ["serde_derive"] }
|
|
serde_json = "1.0.150"
|
|
sea-orm = { version = "1", features = [ "sqlx-sqlite", "runtime-tokio-rustls", "macros" ] }
|
|
entity = {path = "../entity"}
|
|
migration = {path = "../migration"}
|
|
argon2 = "0.5.3"
|
|
uuid = { version = "1.23.3", features = ["v4"] }
|
|
tower-http = { version = "0.6", features = ["cors"] }
|
|
futures = "0.3.32"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
symphonia = { version = "0.5", features = ["aac"] }
|
|
opus = "0.3.1"
|
|
rubato = "3.0.0"
|