[package]
edition = "2024"
rust-version = "1.95"
name = "musefs-format"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "On-the-fly audio metadata synthesis and byte-layout for musefs (FLAC/MP3/MP4/Ogg/WAV)."
readme = false
license = "MIT"
repository = "https://github.com/Sohex/musefs"
[features]
fuzzing = []
[lib]
name = "musefs_format"
path = "src/lib.rs"
[[test]]
name = "flac_locate"
path = "tests/flac_locate.rs"
[[test]]
name = "flac_pictures"
path = "tests/flac_pictures.rs"
[[test]]
name = "flac_read_comments"
path = "tests/flac_read_comments.rs"
[[test]]
name = "flac_read_metadata"
path = "tests/flac_read_metadata.rs"
[[test]]
name = "flac_roundtrip"
path = "tests/flac_roundtrip.rs"
[[test]]
name = "flac_synthesize_art"
path = "tests/flac_synthesize_art.rs"
[[test]]
name = "flac_synthesize_tags"
path = "tests/flac_synthesize_tags.rs"
[[test]]
name = "layout"
path = "tests/layout.rs"
[[test]]
name = "mp3_locate"
path = "tests/mp3_locate.rs"
[[test]]
name = "mp3_pictures"
path = "tests/mp3_pictures.rs"
[[test]]
name = "mp3_read_tags"
path = "tests/mp3_read_tags.rs"
[[test]]
name = "mp3_synthesize"
path = "tests/mp3_synthesize.rs"
[[test]]
name = "mp4_oracle"
path = "tests/mp4_oracle.rs"
[[test]]
name = "proptest_flac"
path = "tests/proptest_flac.rs"
[[test]]
name = "proptest_mp3"
path = "tests/proptest_mp3.rs"
[[test]]
name = "proptest_mp4"
path = "tests/proptest_mp4.rs"
[[test]]
name = "proptest_ogg"
path = "tests/proptest_ogg.rs"
[[test]]
name = "proptest_wav"
path = "tests/proptest_wav.rs"
[[test]]
name = "wav_locate"
path = "tests/wav_locate.rs"
[[test]]
name = "wav_read_tags"
path = "tests/wav_read_tags.rs"
[[test]]
name = "wav_synthesize"
path = "tests/wav_synthesize.rs"
[dependencies.base64]
version = "0.22"
[dependencies.id3]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.crc]
version = "3"
[dev-dependencies.hound]
version = "3"
[dev-dependencies.metaflac]
version = "0.2"
[dev-dependencies.mp4]
version = "0.14"
[dev-dependencies.musefs-db]
version = "1.1.0"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
doc_markdown = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"