f98e6f8dfa
Adds the full writer/publisher stack: NIP-35 event signing and relay delivery, qBittorrent polling with publish-delay queue, lava_torrent .torrent file parsing, TMDB inline lookup before publish, and kindexr-cli identity/publish subcommands.
22 lines
383 B
Rust
22 lines
383 B
Rust
pub mod config;
|
|
pub mod db;
|
|
pub mod enrich;
|
|
pub mod nostr;
|
|
pub mod publisher;
|
|
pub mod torznab;
|
|
pub mod wot;
|
|
|
|
use std::{
|
|
sync::{atomic::AtomicI32, Arc},
|
|
time::Instant,
|
|
};
|
|
|
|
#[derive(Clone)]
|
|
pub struct AppState {
|
|
pub pool: sqlx::SqlitePool,
|
|
pub cfg: Arc<config::Config>,
|
|
pub version: &'static str,
|
|
pub started_at: Instant,
|
|
pub relay_count: Arc<AtomicI32>,
|
|
}
|