mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Allow deprecated items.
Tokio has moved lots of stuff from tokio-core::io to tokio-io.
This commit is contained in:
parent
e60cdeafca
commit
ded43122a2
2 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
||||||
|
|
||||||
|
// TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
#[macro_use] extern crate error_chain;
|
#[macro_use] extern crate error_chain;
|
||||||
#[macro_use] extern crate futures;
|
#[macro_use] extern crate futures;
|
||||||
#[macro_use] extern crate lazy_static;
|
#[macro_use] extern crate lazy_static;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
#[macro_use] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
extern crate env_logger;
|
extern crate env_logger;
|
||||||
extern crate futures;
|
extern crate futures;
|
||||||
|
|
Loading…
Reference in a new issue