cinekey 0.4.5

Fast parser for movie and TV release names
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.88"
name = "cinekey"
version = "0.4.5"
build = false
include = [
    "src/**",
    "benches/**",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast parser for movie and TV release names"
readme = "README.md"
keywords = [
    "media",
    "parser",
    "movies",
    "television",
    "cli",
]
categories = [
    "parser-implementations",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Sec-ant/cinekey"

[features]
cli = [
    "dep:clap",
    "dep:serde_json",
]
default = ["cli"]

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

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

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

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

[dependencies.enumset]
version = "1.1"
features = ["serde"]
default-features = false

[dependencies.memchr]
version = "2.8"

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

[dependencies.serde_json]
version = "1"
optional = true

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

[lints.clippy]
all = "warn"

[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"

[profile.dist]
lto = "fat"
panic = "abort"
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"