Prepare for release

This commit is contained in:
Serial 2021-12-23 10:15:13 -05:00
parent 8021ca924c
commit ddf449856b
4 changed files with 9 additions and 5 deletions

View file

@ -4,7 +4,7 @@ version = "0.3.0"
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Unified IO for different types of audio metadata"
description = "Audio metadata library"
repository = "https://github.com/Serial-ATA/lofty-rs"
keywords = ["tags", "audio", "metadata"]
categories = ["accessibility", "multimedia::audio"]

View file

@ -1,11 +1,13 @@
[package]
name = "ogg_pager"
version = "0.1.7"
version = "0.1.8"
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
edition = "2018"
repository = "https://github.com/Serial-ATA/lofty-rs"
description = "OGG page reader for use in Lofty"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A simple OGG page reader"
repository = "https://github.com/Serial-ATA/lofty-rs"
keywords = ["ogg", "vorbis"]
categories = ["accessibility", "multimedia::audio"]
[dependencies]
byteorder = "1.4.3"

View file

@ -66,6 +66,7 @@ const CRC_LOOKUP_ARRAY : &[u32] = &[
0xbcb4_666d, 0xb875_7bda, 0xb536_5d03, 0xb1f7_40b4
];
/// Generates a CRC checksum based on the content
pub fn crc32(page: &[u8]) -> u32 {
let mut crc: u32 = 0;

View file

@ -150,6 +150,7 @@ impl Page {
}
}
/// Creates a segment table based on the content
pub fn segments(cont: &[u8]) -> Vec<u8> {
let len = cont.len();