lofty 0.23.1

Audio metadata library
Documentation
# 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"
rust-version = "1.85"
name = "lofty"
version = "0.23.1"
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
build = false
include = [
    "src",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "SUPPORTED_FORMATS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio metadata library"
readme = "README.md"
keywords = [
    "tags",
    "audio",
    "metadata",
    "id3",
    "vorbis",
]
categories = [
    "multimedia",
    "multimedia::audio",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Serial-ATA/lofty-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["id3v2_compression_support"]
id3v2_compression_support = ["dep:flate2"]
serde = ["dep:serde"]

[lib]
name = "lofty"
path = "src/lib.rs"
bench = false

[dependencies.byteorder]
version = "1.5.0"

[dependencies.data-encoding]
version = "2.10.0"

[dependencies.flate2]
version = "1.1.9"
optional = true

[dependencies.lofty_attr]
version = "0.12.0"

[dependencies.log]
version = "0.4.29"

[dependencies.ogg_pager]
version = "0.7.1"

[dependencies.paste]
version = "1.0.15"

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

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.gungraun]
version = "0.17.0"

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

[dev-dependencies.rusty-fork]
version = "0.3.1"

[dev-dependencies.structopt]
version = "0.3.26"
default-features = false

[dev-dependencies.tempfile]
version = "3.24.0"

[dev-dependencies.test-log]
version = "0.2.19"

[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
field_reassign_with_default = "allow"
from_over_into = "allow"
ignored_unit_patterns = "allow"
into_iter_without_iter = "allow"
items_after_statements = "allow"
len_without_is_empty = "allow"
let_underscore_untyped = "allow"
manual_range_patterns = "allow"
match_wildcard_for_single_variants = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_late_init = "allow"
needless_return = "allow"
no_effect_underscore_binding = "allow"
redundant_guards = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
tabs_in_doc_comments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unbuffered_bytes = "allow"
uninlined_format_args = "allow"
upper_case_acronyms = "allow"
used_underscore_binding = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
explicit_outlives_requirements = "deny"
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unknown_lints = "allow"
unused_import_braces = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "deny"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "deny"