mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-16 08:59:35 +00:00
feat: setup for blossom uploads
refactor: move db to crate
This commit is contained in:
23
Cargo.toml
23
Cargo.toml
@ -10,8 +10,17 @@ path = "src/bin/zap_stream_core.rs"
|
||||
[features]
|
||||
default = ["test-pattern"]
|
||||
srt = ["dep:srt-tokio"]
|
||||
zap-stream = ["dep:nostr-sdk", "dep:sqlx", "dep:fedimint-tonic-lnd", "dep:chrono"]
|
||||
test-pattern = ["dep:resvg", "dep:usvg", "dep:tiny-skia", "dep:fontdue", "dep:ringbuf"]
|
||||
zap-stream = [
|
||||
"dep:nostr-sdk",
|
||||
"dep:zap-stream-db",
|
||||
"dep:fedimint-tonic-lnd",
|
||||
"dep:reqwest",
|
||||
"tokio/fs",
|
||||
"dep:base64",
|
||||
"dep:sha2",
|
||||
"dep:hex"
|
||||
]
|
||||
test-pattern = ["dep:resvg", "dep:usvg", "dep:tiny-skia", "dep:fontdue", "dep:ringbuf", "zap-stream-db/test-pattern"]
|
||||
|
||||
[dependencies]
|
||||
ffmpeg-rs-raw = { git = "https://git.v0l.io/Kieran/ffmpeg-rs-raw.git", rev = "0abe0c5229adeb64b013d1895c7eba3d917f05a4" }
|
||||
@ -32,6 +41,7 @@ clap = { version = "4.5.16", features = ["derive"] }
|
||||
warp = "0.3.7"
|
||||
libc = "0.2.162"
|
||||
m3u8-rs = "6.0.0"
|
||||
chrono = "^0.4.38"
|
||||
|
||||
# test-pattern
|
||||
srt-tokio = { version = "0.4.3", optional = true }
|
||||
@ -42,9 +52,10 @@ fontdue = { version = "0.9.2", optional = true }
|
||||
ringbuf = { version = "0.4.7", optional = true }
|
||||
|
||||
# zap-stream
|
||||
zap-stream-db = { path = "zap-stream-db", optional = true }
|
||||
nostr-sdk = { version = "0.36.0", optional = true }
|
||||
sqlx = { version = "0.8.2", optional = true, features = ["runtime-tokio", "migrate", "mysql", "chrono"] }
|
||||
fedimint-tonic-lnd = { version = "0.2.0", optional = true, default-features = false, features = ["invoicesrpc", "versionrpc"] }
|
||||
chrono = { version = "0.4.38", optional = true, features = ["serde"] }
|
||||
|
||||
|
||||
reqwest = { version = "0.12.9", optional = true, features = ["stream"] }
|
||||
base64 = { version = "0.22.1", optional = true }
|
||||
sha2 = { version = "0.10.8", optional = true }
|
||||
hex = { version = "0.4.3", optional = true }
|
||||
|
Reference in New Issue
Block a user