# 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 = "2021"
name = "anitomy-ng"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Anime video filename parser (Rust port of erengy/anitomy)"
readme = "README.md"
keywords = [
    "anime",
    "parser",
    "filename",
    "anitomy",
]
categories = ["parser-implementations"]
license = "MPL-2.0"
repository = "https://github.com/tylergibbs2/anitomy-ng"

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

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

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

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

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

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

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

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

[dependencies.regex]
version = "1"
features = ["std"]
default-features = false

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

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

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