Update Cargo.toml, rustfmt

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
This commit is contained in:
Serial 2021-06-27 12:45:24 -04:00
parent 5481061149
commit a5df39de78
4 changed files with 8 additions and 7 deletions

3
Cargo.lock generated
View file

@ -454,7 +454,8 @@ dependencies = [
[[package]]
name = "ogg_pager"
version = "0.1.0"
version = "0.1.3"
source = "git+https://github.com/Serial-ATA/lofty-rs#54810611499625a3c4b99220f50fe5b22f73ea50"
dependencies = [
"byteorder",
]

View file

@ -11,7 +11,7 @@ categories = ["accessibility", "multimedia::audio"]
[dependencies]
# Ape
ape = {version = "0.3.0", optional = true, git="https://github.com/rossnomann/rust-ape"}
ape = {version = "0.3.0", optional = true, git = "https://github.com/rossnomann/rust-ape"}
# Riff
riff = {version = "1.0.1", optional = true}
# Id3
@ -20,7 +20,7 @@ filepath = { version = "0.1.1", optional = true } # wav/aiff only supports paths
# Mp3
mp3-duration = {version = "0.1.10", optional = true} # Duration
# Ogg
ogg_pager = { version = "0.1.0", optional = true, path = "ogg_pager" }
ogg_pager = { version = "0.1.3", optional = true, git = "https://github.com/Serial-ATA/lofty-rs" }
lewton = {version = "0.10.2", optional = true} # Decoding
ogg = {version = "0.8.0", optional = true} # Encoding
# Mp4

View file

@ -13,7 +13,7 @@ test_read!(read_ape, "tests/assets/a.ape");
test_read!(read_flac, "tests/assets/a.flac");
test_read!(read_m4a, "tests/assets/a.m4a");
test_read!(read_mp3, "tests/assets/a.mp3");
//test_read!(read_ogg, "tests/assets/a.ogg");
// test_read!(read_ogg, "tests/assets/a.ogg");
test_read!(read_opus, "tests/assets/a.opus");
test_read!(read_wav, "tests/assets/a-id3.wav");
@ -23,7 +23,7 @@ fn bench_ext(c: &mut Criterion) {
g.bench_function("FLAC", |b| b.iter(read_flac));
g.bench_function("MP4", |b| b.iter(read_m4a));
g.bench_function("MP3", |b| b.iter(read_mp3));
//g.bench_function("OGG", |b| b.iter(read_ogg));
// g.bench_function("OGG", |b| b.iter(read_ogg));
g.bench_function("OPUS", |b| b.iter(read_opus));
g.bench_function("WAV", |b| b.iter(read_wav));
}

View file

@ -13,7 +13,7 @@ test_read!(read_ape, "tests/assets/a.ape");
test_read!(read_flac, "tests/assets/a.flac");
test_read!(read_m4a, "tests/assets/a.m4a");
test_read!(read_mp3, "tests/assets/a.mp3");
//test_read!(read_ogg, "tests/assets/a.ogg");
// test_read!(read_ogg, "tests/assets/a.ogg");
test_read!(read_opus, "tests/assets/a.opus");
test_read!(read_wav, "tests/assets/a.wav");
@ -23,7 +23,7 @@ fn bench_sig(c: &mut Criterion) {
g.bench_function("FLAC", |b| b.iter(read_flac));
g.bench_function("MP4", |b| b.iter(read_m4a));
g.bench_function("MP3", |b| b.iter(read_mp3));
//g.bench_function("OGG", |b| b.iter(read_ogg));
// g.bench_function("OGG", |b| b.iter(read_ogg));
g.bench_function("OPUS", |b| b.iter(read_opus));
g.bench_function("WAV", |b| b.iter(read_wav));
}