2026-08-29 01:43:12 +00:00
|
|
|
[package]
|
|
|
|
|
name = "renamr-core"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
description = "Renamr core: naming-expression engine, media matching, and rename engine (UI-agnostic)."
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# Embeddable scripting engine powering the {expression} naming-scheme language.
|
|
|
|
|
# Stands in for the Groovy JSR-223 engine FileBot used (Groovy is JVM-only, not available
|
|
|
|
|
# to a Rust core) while keeping the same outer `{ }` template syntax.
|
|
|
|
|
rhai = { version = "1.19", features = ["sync"] }
|
|
|
|
|
|
|
|
|
|
thiserror = "1.0"
|
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
|
2026-08-29 02:42:31 +00:00
|
|
|
# Filename-based season/episode detection (local, no lookahead/lookbehind support
|
|
|
|
|
# unlike Java's regex engine used by the original SeasonEpisodeMatcher, so patterns
|
|
|
|
|
# are adapted to rely on \b word boundaries instead).
|
|
|
|
|
regex = "1"
|
|
|
|
|
|
2026-08-29 03:01:19 +00:00
|
|
|
# TMDB metadata client ("Fetch Data"). rustls instead of the default openssl-backed TLS
|
|
|
|
|
# so this doesn't need system OpenSSL dev headers on every platform we target.
|
|
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
|
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|
|
|
|
|
|
2026-08-29 01:43:12 +00:00
|
|
|
[dev-dependencies]
|
2026-08-29 03:01:19 +00:00
|
|
|
# Local HTTP mock server so the TMDB client's request/response handling can be unit
|
|
|
|
|
# tested without live network access or a real API key.
|
|
|
|
|
mockito = "1"
|