```toml
[dependencies] minimp3 = "0.3" ```
```rust extern crate minimp3;
use minimp3::{Decoder, Frame};
use std::error::Error; use std::fs::File;
fn main() -> Result<(), Box
loop {
// Keep decoding frames until EOF is reached
let Frame { data, sample_rate, channels, .. } = decoder.next_frame()?;
}
unreachable!()
} ```