feat: Add thumbnail generation feature and update media model
- Updated workspace members to include `libertas_importer`. - Added a new migration to add `thumbnail_path` column to `media` table. - Enhanced configuration structures to include `thumbnail_config`. - Modified `Media` model to include `thumbnail_path`. - Updated `MediaRepository` trait and its implementation to handle thumbnail path updates. - Created `ThumbnailPlugin` for generating thumbnails based on media configurations. - Integrated thumbnail generation into the media processing workflow. - Updated dependencies in `libertas_worker` and `libertas_importer` for image processing.
This commit is contained in:
23
libertas_importer/Cargo.toml
Normal file
23
libertas_importer/Cargo.toml
Normal file
@@ -0,0 +1,23 @@
|
||||
[package]
|
||||
name = "libertas_importer"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.100"
|
||||
async-nats = "0.45.0"
|
||||
bytes = "1.10.1"
|
||||
chrono = "0.4.42"
|
||||
clap = { version = "4.5.51", features = ["derive"] }
|
||||
futures = "0.3.31"
|
||||
libertas_core = { path = "../libertas_core" }
|
||||
libertas_infra = { path = "../libertas_infra" }
|
||||
mime_guess = "2.0.5"
|
||||
nom-exif = { version = "2.5.4", features = ["serde", "tokio", "async"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.145"
|
||||
sha2 = "0.10.9"
|
||||
sqlx = { version = "0.8.6", features = ["runtime-tokio", "postgres", "uuid", "chrono"] }
|
||||
tokio = { version = "1.48.0", features = ["full"] }
|
||||
uuid = { version = "1.18.1", features = ["v4", "serde"] }
|
||||
walkdir = "2.5.0"
|
||||
Reference in New Issue
Block a user