- Implement core Rust backend with FFmpeg integration - Add TheTVDB API client with token caching - Implement directory scanner with progress callbacks - Create file manager with rename and move operations - Add audit logging functionality - Implement file mapping for TV episode renaming - Build Node.js native addon via NAPI - Include comprehensive unit and integration tests - Update gitignore to exclude build artifacts and temp files Resolves #TBD
102 lines
2.2 KiB
TOML
102 lines
2.2 KiB
TOML
[package]
|
|
name = "movie_mapper"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A Rust-based version of MovieMapper for organizing and managing movie and TV show collections"
|
|
license = "MIT"
|
|
repository = "https://github.com/anomalyco/MovieMapper"
|
|
readme = "README.md"
|
|
keywords = ["media", "ffmpeg", "tvdb", "jellyfin", "video"]
|
|
categories = ["command-line-utilities", "filesystem"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
notify = "6.1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
# FFmpeg integration - using command-line ffprobe instead of bindings
|
|
# ffmpeg-next = "5.0" # Commented out - using CLI instead
|
|
dirs = "5.0"
|
|
dotenv = "0.15"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.10"
|
|
tokio-test = "0.4"
|
|
rstest = "0.21"
|
|
mockall = "0.12"
|
|
mockito = "1.0"
|
|
criterion = { version = "0.5", features = ["async_tokio"] }
|
|
|
|
[[bin]]
|
|
name = "movie_mapper"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "movie_mapper"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "unit"
|
|
path = "tests/unit_tests.rs"
|
|
|
|
[[test]]
|
|
name = "unit_file_metadata"
|
|
path = "tests/unit/file_metadata_tests.rs"
|
|
|
|
[[test]]
|
|
name = "unit_file_scanner"
|
|
path = "tests/unit/file_scanner_tests.rs"
|
|
|
|
[[test]]
|
|
name = "unit_tvdb_api"
|
|
path = "tests/unit/tvdb_api_tests.rs"
|
|
|
|
[[test]]
|
|
name = "model"
|
|
path = "tests/model_tests.rs"
|
|
|
|
[[test]]
|
|
name = "utils"
|
|
path = "tests/utils_tests.rs"
|
|
|
|
[[test]]
|
|
name = "e2e"
|
|
path = "tests/e2e_tests.rs"
|
|
|
|
[[test]]
|
|
name = "integration"
|
|
path = "tests/integration_tests.rs"
|
|
|
|
[[test]]
|
|
name = "integration_e2e"
|
|
path = "tests/integration/end_to_end_tests.rs"
|
|
|
|
[[test]]
|
|
name = "integration_module"
|
|
path = "tests/integration/integration_tests.rs"
|
|
|
|
[[test]]
|
|
name = "integration_all"
|
|
path = "tests/integration/module_integration_tests.rs"
|
|
|
|
[[bench]]
|
|
name = "benchmarks"
|
|
harness = false
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[package.metadata.release]
|
|
release-name = "release"
|
|
tag-name = "v{{version}}"
|
|
github-release = true
|
|
skip-tag = false
|
|
push-branch = false
|
|
allow-branch = ["main"] |