# 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 = "mutagen-rs"
version = "0.1.2"
build = false
exclude = [
    "test_files/",
    "tests/",
    "benches/",
    "lofty-rs/",
    "python/",
    ".github/",
    "baseline_results.json",
    "performance_results.json",
    "task.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance audio metadata library — drop-in replacement for mutagen"
readme = "README.md"
keywords = [
    "audio",
    "metadata",
    "id3",
    "flac",
    "mp3",
]
categories = [
    "multimedia::audio",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/AiBrush/mutagen-rs"

[features]
default = []
python = ["dep:pyo3"]

[lib]
name = "mutagen_rs"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[dependencies.byteorder]
version = "1.5"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.flate2]
version = "1.0"

[dependencies.itoa]
version = "1.0"

[dependencies.libc]
version = "0.2"

[dependencies.memchr]
version = "2.7"

[dependencies.memmap2]
version = "0.9"

[dependencies.pyo3]
version = "0.27"
features = ["extension-module"]
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.ryu]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.lofty]
version = "0.22"

[target.'cfg(target_arch = "x86_64")'.dependencies.mimalloc]
version = "0.1"
default-features = false

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
