Files
zap-stream-core/crates/core/Cargo.toml
Copilot e097b9caf1 Implement fingerprint-based viewer token generation using IP + user agent hashing (#4)
* Initial plan for issue

* Implement fingerprint-based viewer token generation

Co-authored-by: v0l <1172179+v0l@users.noreply.github.com>

* Fix bech32 encoding and add comprehensive tests

Co-authored-by: v0l <1172179+v0l@users.noreply.github.com>

* Remove bech32 HRP and move dependencies to workspace

Co-authored-by: v0l <1172179+v0l@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: v0l <1172179+v0l@users.noreply.github.com>
2025-06-07 16:27:37 +01:00

46 lines
1.0 KiB
TOML

[package]
name = "zap-stream-core"
version = "0.1.0"
edition = "2021"
[features]
default = ["test-pattern", "srt", "rtmp"]
srt = ["dep:srt-tokio"]
rtmp = ["dep:rml_rtmp"]
local-overseer = [] # WIP
webhook-overseer = [] # WIP
test-pattern = [
"dep:resvg",
"dep:usvg",
"dep:tiny-skia",
"dep:fontdue",
"dep:ringbuf",
]
[dependencies]
ffmpeg-rs-raw.workspace = true
tokio.workspace = true
anyhow.workspace = true
async-trait.workspace = true
log.workspace = true
uuid.workspace = true
serde.workspace = true
hex.workspace = true
itertools.workspace = true
futures-util = "0.3.30"
m3u8-rs.workspace = true
sha2.workspace = true
data-encoding.workspace = true
# srt
srt-tokio = { version = "0.4.3", optional = true }
# rtmp
rml_rtmp = { version = "0.8.0", optional = true }
# test-pattern
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 }
ringbuf = { version = "0.4.7", optional = true }