lofty_attr: Expose LoftyFile derive through main crate

This commit is contained in:
Serial 2022-12-10 10:54:58 -05:00
parent 263e0611fe
commit 81e52ce347
No known key found for this signature in database
GPG key ID: DA95198DC17C4568
2 changed files with 4 additions and 1 deletions

View file

@ -20,7 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **OGG**: The reading of OGG files has switched to using packets opposed to pages, making it more
spec-compliant and efficient.
- **ogg_pager**: Most fields in `Page` have been separated out into the new `PageHeader` struct.
- **ogg_pager**: `paginate` now works with a collection of packets
- **ogg_pager**: `paginate` now works with a collection of packets.
- **lofty_attr**: The `lofty_attr::LoftyFile` derive proc macro is now exported as `lofty::LoftyFile`
### Removed
- **ogg_pager**: Removed `Page::new`, now pages can only be created through `ogg_pager::paginate` or

View file

@ -203,6 +203,8 @@ pub use crate::traits::{Accessor, TagExt};
#[cfg(feature = "vorbis_comments")]
pub use picture::PictureInformation;
pub use lofty_attr::LoftyFile;
// TODO: https://github.com/rust-lang/rust/issues/88581
#[inline]
pub(crate) const fn div_ceil(dividend: u64, divisor: u64) -> u64 {