zap-stream-core/Cargo.toml

82 lines
2.3 KiB
TOML
Raw Normal View History

2024-03-11 22:19:08 +00:00
[package]
2024-11-13 11:43:28 +00:00
name = "zap-stream-core"
2024-03-11 22:19:08 +00:00
version = "0.1.0"
edition = "2021"
2024-11-13 19:57:36 +00:00
[[bin]]
name = "zap-stream-core"
path = "src/bin/zap_stream_core.rs"
2024-11-13 11:43:28 +00:00
[features]
2024-11-22 16:54:32 +00:00
default = ["test-pattern", "srt", "rtmp"]
2024-11-13 11:43:28 +00:00
srt = ["dep:srt-tokio"]
2024-11-22 16:54:32 +00:00
rtmp = ["dep:rml_rtmp"]
local-overseer = [] # WIP
webhook-overseer = [] # WIP
zap-stream = [
"dep:nostr-sdk",
"dep:zap-stream-db",
"dep:fedimint-tonic-lnd",
"dep:reqwest",
"dep:base64",
"dep:sha2",
2024-11-21 16:56:15 +00:00
"tokio/fs",
]
2024-11-22 16:54:32 +00:00
test-pattern = [
"dep:resvg",
"dep:usvg",
"dep:tiny-skia",
"dep:fontdue",
"dep:ringbuf",
"zap-stream-db/test-pattern"
]
2024-11-13 11:43:28 +00:00
2024-03-11 22:19:08 +00:00
[dependencies]
2024-12-09 11:36:05 +00:00
ffmpeg-rs-raw = { git = "https://git.v0l.io/Kieran/ffmpeg-rs-raw.git", rev = "df69b2f05da4279e36ad55086d77b45b2caf5174" }
2024-11-13 11:43:28 +00:00
tokio = { version = "1.36.0", features = ["rt", "rt-multi-thread", "macros"] }
anyhow = { version = "^1.0.91", features = ["backtrace"] }
2024-03-11 22:19:08 +00:00
pretty_env_logger = "0.5.0"
tokio-stream = "0.1.14"
futures-util = "0.3.30"
async-trait = "0.1.77"
log = "0.4.21"
2024-03-20 22:46:19 +00:00
uuid = { version = "1.8.0", features = ["v4", "serde"] }
serde = { version = "1.0.197", features = ["derive"] }
2024-11-15 15:54:51 +00:00
config = { version = "0.14.0", features = ["yaml"] }
2024-03-20 22:46:19 +00:00
url = "2.5.0"
2024-11-13 11:43:28 +00:00
itertools = "0.13.0"
2024-08-28 23:23:45 +01:00
rand = "0.8.5"
2024-09-02 11:13:21 +01:00
clap = { version = "4.5.16", features = ["derive"] }
2024-11-13 16:06:52 +00:00
libc = "0.2.162"
2024-11-15 15:54:51 +00:00
m3u8-rs = "6.0.0"
chrono = "^0.4.38"
2024-11-18 16:05:25 +00:00
hex = "0.4.3"
2024-12-09 14:31:26 +00:00
hyper = { version = "1.5.1", features = ["server"] }
hyper-util = { version = "0.1.10", features = ["tokio"] }
bytes = "1.8.0"
http-body-util = "0.1.2"
tokio-util = "0.7.13"
2024-11-13 11:43:28 +00:00
2024-11-21 16:56:15 +00:00
# srt
2024-11-13 11:43:28 +00:00
srt-tokio = { version = "0.4.3", optional = true }
2024-11-21 16:56:15 +00:00
2024-11-22 16:54:32 +00:00
# rtmp
rml_rtmp = { version = "0.8.0", optional = true }
2024-11-21 16:56:15 +00:00
# test-pattern
2024-11-13 11:43:28 +00:00
resvg = { version = "0.44.0", optional = true }
usvg = { version = "0.44.0", optional = true }
tiny-skia = { version = "0.11.4", optional = true }
fontdue = { version = "0.9.2", optional = true }
2024-11-13 16:06:52 +00:00
ringbuf = { version = "0.4.7", optional = true }
2024-11-15 15:54:51 +00:00
# zap-stream
zap-stream-db = { path = "zap-stream-db", optional = true }
2024-11-15 15:54:51 +00:00
nostr-sdk = { version = "0.36.0", optional = true }
fedimint-tonic-lnd = { version = "0.2.0", optional = true, default-features = false, features = ["invoicesrpc", "versionrpc"] }
reqwest = { version = "0.12.9", optional = true, features = ["stream"] }
base64 = { version = "0.22.1", optional = true }
sha2 = { version = "0.10.8", optional = true }
2024-12-09 14:31:26 +00:00
2024-11-22 16:54:32 +00:00