# 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 = "mp3rgain"
version = "0.9.0"
authors = ["Masanari Higashi <M-Igashi@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lossless MP3 volume adjustment - a modern mp3gain replacement written in Rust"
homepage = "https://github.com/M-Igashi/mp3rgain"
readme = "README.md"
keywords = [
    "mp3",
    "audio",
    "gain",
    "volume",
    "lossless",
]
categories = [
    "multimedia::audio",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/M-Igashi/mp3rgain"

[features]
aac = ["symphonia-aac"]
default = []
replaygain = ["symphonia"]
symphonia-aac = ["symphonia"]

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

[[bin]]
name = "mp3rgain"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.colored]
version = "2.0"

[dependencies.indicatif]
version = "0.17"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.symphonia]
version = "0.5"
features = [
    "mp3",
    "aac",
    "isomp4",
]
optional = true
default-features = false

[profile.release]
lto = true
codegen-units = 1
strip = true
