archivist-core 0.2.0

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).
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "archivist-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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)."
readme = "README.md"
keywords = [
    "fanfiction",
    "recommendations",
    "archive",
    "bot",
    "platform-neutral",
]
categories = [
    "command-line-utilities",
    "web-programming::http-client",
    "network-programming",
]
license = "AGPL-3.0-or-later"
repository = "https://opencommit.eu/MagicZhang/fanfic-archivist"
resolver = "2"

[lib]
name = "archivist_core"
path = "src/lib.rs"

[[example]]
name = "custom_adapter"
path = "examples/custom_adapter.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "std",
    "clock",
]
default-features = false

[dependencies.dotenvy]
version = "0.15"

[dependencies.redis]
version = "0.27"
features = [
    "aio",
    "tokio-comp",
    "connection-manager",
]

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "cookies",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]