# 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"
name = "hunch"
version = "1.0.1"
authors = ["Lijun Zhu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of guessit — extract media metadata from filenames"
homepage = "https://github.com/lijunzh/hunch"
readme = "README.md"
keywords = [
    "media",
    "parser",
    "filename",
    "movies",
    "episodes",
]
categories = [
    "multimedia",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/lijunzh/hunch"

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

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

[[bin]]
name = "hunch"
path = "src/main.rs"

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

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

[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "0.8"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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