mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix play.rs example (#379)
Fix `play.rs` example by renaming `core` to `librespot_core`
This commit is contained in:
parent
051c233ca0
commit
2ff71abb8e
2 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ extern crate url;
|
|||
|
||||
pub extern crate librespot_audio as audio;
|
||||
pub extern crate librespot_connect as connect;
|
||||
pub extern crate librespot_core as core;
|
||||
pub extern crate librespot_core;
|
||||
pub extern crate librespot_metadata as metadata;
|
||||
pub extern crate librespot_playback as playback;
|
||||
pub extern crate librespot_protocol as protocol;
|
||||
|
|
10
src/main.rs
10
src/main.rs
|
@ -26,11 +26,11 @@ use tokio_core::reactor::{Core, Handle};
|
|||
use tokio_io::IoStream;
|
||||
use url::Url;
|
||||
|
||||
use librespot::core::authentication::{get_credentials, Credentials};
|
||||
use librespot::core::cache::Cache;
|
||||
use librespot::core::config::{ConnectConfig, DeviceType, SessionConfig};
|
||||
use librespot::core::session::Session;
|
||||
use librespot::core::version;
|
||||
use librespot::librespot_core::authentication::{get_credentials, Credentials};
|
||||
use librespot::librespot_core::cache::Cache;
|
||||
use librespot::librespot_core::config::{ConnectConfig, DeviceType, SessionConfig};
|
||||
use librespot::librespot_core::session::Session;
|
||||
use librespot::librespot_core::version;
|
||||
|
||||
use librespot::connect::discovery::{discovery, DiscoveryStream};
|
||||
use librespot::connect::spirc::{Spirc, SpircTask};
|
||||
|
|
Loading…
Reference in a new issue