[package]
edition = "2024"
name = "synd-persistence"
version = "0.4.0"
authors = ["ymgyt"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistence adapters for syndicationd"
homepage = "https://docs.syndicationd.ymgyt.io/synd-term/"
readme = "README.md"
keywords = [
"feed",
"rss",
"atom",
"tui",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ymgyt/syndicationd"
resolver = "2"
[lib]
name = "synd_persistence"
path = "src/lib.rs"
[[test]]
name = "registry_e2e"
path = "tests/registry_e2e.rs"
[dependencies.chrono]
version = "0.4.44"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8.6"
features = [
"runtime-tokio",
"sqlite",
"chrono",
"migrate",
"macros",
]
default-features = false
[dependencies.synd-feed]
version = "=0.4.0"
features = ["sqlx"]
[dependencies.synd-registry]
version = "=0.4.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tracing]
version = "0.1.41"
[dependencies.zstd]
version = "0.13"
default-features = false
[dev-dependencies.anyhow]
version = "1"
features = ["std"]
default-features = false
[dev-dependencies.synd-support]
version = "=0.4.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"net",
"rt",
"time",
]
default-features = false
[dev-dependencies.tokio-util]
version = "0.7.18"
[lints.clippy]
cargo_common_metadata = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
negative_feature_names = "warn"
redundant_feature_names = "warn"
wildcard_dependencies = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"