Files
kindexr/Cargo.toml
T
enki a3db453942 feat: Blossom binary bridge (BUD-01)
- BlossomClient: unauthenticated fetch, kind 24242 signed upload
- Parser: capture `url` tag from NIP-35 events as blossom_url
- Reader: spawn background fetch + cache of blob when url tag present
- Writer: include `url` tag in published NIP-35 events when blob uploaded
- Watcher: upload .torrent file to Blossom before publishing, attach URL
- Migration 007: adds blossom_url + torrent_blob columns to torrents
- Route GET /torrent/<info_hash>.torrent serves cached blobs
- Config: blossom.enabled + blossom.server (disabled by default)
2026-05-17 19:09:42 -07:00

63 lines
1.4 KiB
TOML

[package]
name = "kindexr"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "kindexr"
path = "src/main.rs"
[[bin]]
name = "kindexr-cli"
path = "src/bin/kindexr-cli.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# HTTP
axum = { version = "0.8", features = ["json", "macros"] }
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.6", features = ["trace"] }
# Nostr
nostr-sdk = "0.44"
nostr = "0.44"
negentropy = "0.5"
# Database
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "macros", "chrono"] }
# sqlite feature bundles SQLite by default; sqlite-unbundled uses system lib
# Config + CLI
figment = { version = "0.10", features = ["yaml", "env"] }
clap = { version = "4", features = ["derive"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Torznab XML
quick-xml = { version = "0.40", features = ["serialize"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Torrent file parsing (Phase 4, listed now)
lava_torrent = "0.11"
# HTTP client (TMDB enrichment, Phase 2)
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Error handling
anyhow = "1"
thiserror = "2"
# Utilities
hex = "0.4"
url = "2"
regex = "1"
chrono = { version = "0.4", features = ["serde"] }
rand = "0.8"
sha2 = "0.10"
base64 = "0.22"