[package]
name = "archivist-core"
version = "0.2.0"
edition = "2024"
description = "Platform-neutral core for the FicHub companion bot: FicHub REST API client, search/recommendation/download command logic, intent classification, pagination cache, and the PlatformMessage IR. Shared by every platform adapter (Discord, Telegram, Matrix, Slack, IRC, fediverse, CLI, web)."
license = "AGPL-3.0-or-later"
repository = "https://opencommit.eu/MagicZhang/fanfic-archivist"
keywords = ["fanfiction", "recommendations", "archive", "bot", "platform-neutral"]
categories = ["command-line-utilities", "web-programming::http-client", "network-programming"]
[dependencies]
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "cookies"] }
redis = { version = "0.27", features = ["aio", "tokio-comp", "connection-manager"] }
urlencoding = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
dotenvy = "0.15"
tracing = "0.1"
thiserror = "2"
chrono = { version = "0.4", default-features = false, features = ["serde", "std", "clock"] }
url = "2"
async-trait = "0.1"
uuid = { version = "1", features = ["v4"] }
sha2 = "0.10"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }