mirror of
https://github.com/librespot-org/librespot.git
synced 2025-01-07 17:24:04 +00:00
ad19b69bfb
* Remove deprecated use of std::u16::MAX * Use `FromStr` for fallible `&str` conversions * DRY up strings into constants * Change `as_ref().map()` into `as_deref()` * Use `Duration` for time constants and functions * Optimize `Vec` with response times * Move comments for `rustdoc` to parse
16 lines
383 B
Rust
16 lines
383 B
Rust
#![allow(clippy::unused_io_amount, clippy::too_many_arguments)]
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
mod decrypt;
|
|
mod fetch;
|
|
|
|
mod range_set;
|
|
|
|
pub use decrypt::AudioDecrypt;
|
|
pub use fetch::{AudioFile, StreamLoaderController};
|
|
pub use fetch::{
|
|
READ_AHEAD_BEFORE_PLAYBACK, READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS, READ_AHEAD_DURING_PLAYBACK,
|
|
READ_AHEAD_DURING_PLAYBACK_ROUNDTRIPS,
|
|
};
|