mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
Update Tokio to Rust 2018 (#1082)
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
#![feature(test)]
|
||||
#![deny(warnings)]
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
extern crate futures;
|
||||
extern crate mio;
|
||||
extern crate num_cpus;
|
||||
extern crate test;
|
||||
extern crate tokio;
|
||||
extern crate tokio_io_pool;
|
||||
extern crate tokio_reactor;
|
||||
|
||||
const NUM_YIELD: usize = 500;
|
||||
const TASKS_PER_CPU: usize = 100;
|
||||
|
||||
Reference in New Issue
Block a user