mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
import fs, io, path modules to read and write volume persistence file
This commit is contained in:
parent
fa66dd312b
commit
f2be0533f3
2 changed files with 5 additions and 2 deletions
|
@ -19,6 +19,8 @@ use playback::player::Player;
|
|||
use rand;
|
||||
use rand::Rng;
|
||||
use std;
|
||||
use std::fs::File;
|
||||
use std::io::Write;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
pub struct SpircTask {
|
||||
|
|
|
@ -17,9 +17,10 @@ use env_logger::LogBuilder;
|
|||
use futures::sync::mpsc::UnboundedReceiver;
|
||||
use futures::{Async, Future, Poll, Stream};
|
||||
use std::env;
|
||||
use std::io::{self, stderr, Write};
|
||||
use std::fs::File;
|
||||
use std::io::{self, stderr, Read, Write};
|
||||
use std::mem;
|
||||
use std::path::PathBuf;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::exit;
|
||||
use std::str::FromStr;
|
||||
use tokio_core::reactor::{Core, Handle};
|
||||
|
|
Loading…
Reference in a new issue