Umbrella feature for ogg

This commit is contained in:
Serial 2021-05-22 16:41:05 -04:00
parent 377a4704a0
commit 9661092d3f
2 changed files with 7 additions and 1 deletions

View file

@ -45,7 +45,8 @@ format-vorbis = ["lewton", "ogg"]
format-ape = ["ape", "filepath"]
format-id3 = ["id3"]
format-riff = ["riff"]
all_tags = ["format-vorbis", "format-opus", "format-flac", "format-mp4", "format-id3", "format-riff", "format-ape"]
format-ogg = ["format-flac", "format-opus", "format-vorbis"]
all_tags = ["format-ogg", "format-mp4", "format-id3", "format-riff", "format-ape"]
duration = ["mp3-duration"]
[dev-dependencies]

View file

@ -86,6 +86,11 @@
//! * `format-vorbis`
//! * `format-riff`
//!
//! ## Umbrella features
//! These cover all formats under a container format.
//!
//! * `format-ogg` (`format-opus`, `format-vorbis`, `format-flac`)
//!
//! ## Performance
//!
//! Using lofty incurs a little overhead due to vtables if you want to guess the metadata format (from file extension).