hunch 2.0.2

A media filename parser for movies, TV, and anime — built in Rust, inspired by guessit
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "hunch"
version = "2.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A media filename parser for movies, TV, and anime — built in Rust, inspired by guessit"
homepage = "https://lijunzh.github.io/hunch/"
readme = "README.md"
keywords = [
    "media",
    "parser",
    "filename",
    "movies",
    "episodes",
]
categories = [
    "multimedia",
    "parser-implementations",
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/lijunzh/hunch"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/hunch-{ target }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "hunch-{ target }/{ bin }{ binary-ext }"

[features]
cli = [
    "clap",
    "env_logger",
]
default = ["cli"]

[lib]
name = "hunch"
path = "src/lib.rs"

[[bin]]
name = "hunch"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "bracket_leak"
path = "tests/bracket_leak.rs"

[[test]]
name = "cli_batch_warning"
path = "tests/cli_batch_warning.rs"

[[test]]
name = "cli_context_symlink_safety"
path = "tests/cli_context_symlink_safety.rs"

[[test]]
name = "cli_walk_dir_safety"
path = "tests/cli_walk_dir_safety.rs"

[[test]]
name = "context"
path = "tests/context.rs"

[[test]]
name = "empty_intermediate"
path = "tests/empty_intermediate.rs"

[[test]]
name = "fixture_parser"
path = "tests/fixture_parser.rs"

[[test]]
name = "generic_dir_filter"
path = "tests/generic_dir_filter.rs"

[[test]]
name = "guessit_regression"
path = "tests/guessit_regression.rs"

[[test]]
name = "inheritance_blocking_dirs"
path = "tests/inheritance_blocking_dirs.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "issue_244_batch_recursive_extras"
path = "tests/issue_244_batch_recursive_extras.rs"

[[test]]
name = "issue_244_menu_case_insensitive"
path = "tests/issue_244_menu_case_insensitive.rs"

[[test]]
name = "issue_244_self_describing_filenames"
path = "tests/issue_244_self_describing_filenames.rs"

[[test]]
name = "issue_244_title_with_inline_season"
path = "tests/issue_244_title_with_inline_season.rs"

[[test]]
name = "matching_constraints"
path = "tests/matching_constraints.rs"

[[test]]
name = "parent_context"
path = "tests/parent_context.rs"

[[test]]
name = "ptn_corpus_review"
path = "tests/ptn_corpus_review.rs"

[[test]]
name = "source_ancestor_path"
path = "tests/source_ancestor_path.rs"

[[test]]
name = "wrong_type"
path = "tests/wrong_type.rs"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.tempfile]
version = "3"