Files
kindexr/Cargo.toml
T
enki bac30ecfdf add SOCKS5/Tor/I2P proxy support and improve network UI clarity
- NetworkConfig/ProxyConfig in config.rs: mode=direct|tor|i2p|socks5
  with socks5_addr() helper that maps tor→9050, i2p→4446, socks5→url
- build_http_client() routes reqwest through SOCKS5 when configured
- build_nostr_opts() routes nostr-sdk WebSocket connections through
  SOCKS5 using Connection::new().proxy(addr)
- Shared http_client passed to Enricher and BlossomClient so proxy
  applies to TMDB and Blossom blob fetches as well
- nostr_opts passed to Reader, WotBuilder, ProfileFetcher
- Dashboard: network status card showing proxy mode, listen address,
  IPv4/IPv6; relay section now shows X connected / Y configured
- Publishers: rename vouch form to "Override publisher trust", add
  clear note that this is local-only (not broadcast to Nostr), explain
  WoT comes from NIP-02 kind 3; rename column headers for clarity
- Example and dev configs updated with network.proxy section
2026-05-18 21:46:09 -07:00

64 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", "socks"], 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"
urlencoding = "2"