MovieMapper/Rust/Cargo.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://git.home.ms/jarianc/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"]