# 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"
rust-version = "1.83"
name = "nom-exif"
version = "3.2.0"
build = false
exclude = [
    "testdata/*",
    "AGENTS.md",
    "docs/V3_API_DESIGN.md",
    "docs/superpowers/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exif/metadata parsing library written in pure Rust, both image (jpeg/heif/heic/jpg/tiff etc.) and video/audio (mov/mp4/3gp/webm/mkv/mka, etc.) files are supported."
homepage = "https://github.com/mindeng/nom-exif"
readme = "README.md"
keywords = [
    "metadata",
    "exif",
]
categories = [
    "multimedia::images",
    "multimedia::video",
    "multimedia::audio",
    "parsing",
    "parser-implementations",
]
license-file = "LICENSE"
repository = "https://github.com/mindeng/nom-exif"

[package.metadata.docs.rs]
all-features = true

[features]
serde = ["dep:serde"]
tokio = ["dep:tokio"]

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

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

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

[dependencies.bytes]
version = "1.7.1"

[dependencies.chrono]
version = "0.4"

[dependencies.iso6709parse]
version = "0.1.0"

[dependencies.nom]
version = "8.0"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.40.0"
features = [
    "fs",
    "io-util",
]
optional = true

[dependencies.tracing]
version = "0.1.40"

[dev-dependencies.chrono]
version = "0.4"

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

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.regex]
version = "1.10"

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

[dev-dependencies.test-case]
version = "3"

[dev-dependencies.tokio]
version = "1.40.0"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
]

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