# 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 = "nom-mpq"
version = "2.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A nom parser for the MoPaQ archive format"
readme = "README.md"
keywords = [
    "sc2replay",
    "starcraft2",
    "mpq",
    "MoPaQ",
]
categories = [
    "games",
    "parsing",
]
license = "MIT"
repository = "https://github.com/sebosp/nom-mpq"

[features]
default = ["tracing_info_level"]
tracing_debug_level = [
    "tracing/max_level_debug",
    "tracing/release_max_level_debug",
]
tracing_info_level = [
    "tracing/max_level_info",
    "tracing/release_max_level_info",
]
tracing_off = [
    "tracing/max_level_off",
    "tracing/release_max_level_off",
]
tracing_trace_level = [
    "tracing/max_level_trace",
    "tracing/release_max_level_trace",
]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

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

[dependencies.bzip2-rs]
version = "0.1"

[dependencies.convert_case]
version = "0.11"

[dependencies.flate2]
version = "1.1"

[dependencies.nom]
version = "8.0.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.clap]
version = "4.6"
features = ["derive"]

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
