This repository has been archived on 2026-06-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
torttube/sidecar/crates/torttube-sidecar/Cargo.toml

36 lines
1.1 KiB
TOML

[package]
name = "torttube-sidecar"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
[[bin]]
name = "torttube-sidecar"
path = "src/main.rs"
[dependencies]
# Tier 1 — native Rust Innertube.
# default-features=false skips rustypipe's default-tls which pulls in
# native-tls / openssl — we use rustls so cross-compile to aarch64-musl
# stays openssl-free.
rustypipe = { version = "0.11", default-features = false, features = ["rustls-tls-webpki-roots"] }
# Tier 2 + 3 — yt-dlp subprocess shell-out (no library, just std::process)
# Runtime + JSON-over-stdio
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "io-util", "process", "fs"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Errors + logging
anyhow = "1"
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# SponsorBlock — sha256 + REST
sha2 = "0.10"
hex = "0.4"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }