Add a complete metadata synchronization system allowing users to search and sync series/book metadata from external providers (Google Books, Open Library, ComicVine, AniList, Bédéthèque). Each library can use a different provider. Matching requires manual approval with detailed sync reports showing what was updated or skipped (locked fields protection). Key changes: - DB migrations: external_metadata_links, external_book_metadata tables, library metadata_provider column, locked_fields, total_volumes, book metadata fields (summary, isbn, publish_date) - Rust API: MetadataProvider trait + 5 provider implementations, 7 metadata endpoints (search, match, approve, reject, links, missing, delete), sync report system, provider language preference support - Backoffice: MetadataSearchModal, ProviderIcon, SafeHtml components, settings UI for provider/language config, enriched book detail page, edit forms with locked fields support, API proxy routes - OpenAPI/Swagger documentation for all new endpoints and schemas Closes #3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
928 B
TOML
38 lines
928 B
TOML
[package]
|
|
name = "api"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
argon2.workspace = true
|
|
axum.workspace = true
|
|
base64.workspace = true
|
|
async-stream = "0.3"
|
|
chrono.workspace = true
|
|
futures = "0.3"
|
|
image.workspace = true
|
|
jpeg-decoder.workspace = true
|
|
lru.workspace = true
|
|
stripstream-core = { path = "../../crates/core" }
|
|
parsers = { path = "../../crates/parsers" }
|
|
rand.workspace = true
|
|
tokio-stream = "0.1"
|
|
regex = "1"
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
tower.workspace = true
|
|
tower-http = { version = "0.6", features = ["cors"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
utoipa.workspace = true
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
|
webp.workspace = true
|
|
scraper.workspace = true
|