v0.1.x: Don't deny warnings (#1368)

This is just too aggressive for a stable maintenance branch of tokio,
in that new rust release warnings are prooving too hard to fix.
This commit is contained in:
David Kellum
2019-09-30 18:28:26 -04:00
committed by Lucio Franco
parent 83e8fff090
commit 39f369f686
48 changed files with 14 additions and 69 deletions
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate test;
#[macro_use]
-1
View File
@@ -1,7 +1,6 @@
// Measure cost of different operations
// to get a sense of performance tradeoffs
#![feature(test)]
#![deny(warnings)]
extern crate mio;
extern crate test;
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate futures;
extern crate tokio;
-1
View File
@@ -1,6 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-buf/0.1.1")]
#![deny(missing_docs, missing_debug_implementations, unreachable_pub)]
#![cfg_attr(test, deny(warnings))]
//! Asynchronous stream of bytes.
//!
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/tokio-codec/0.1.1")]
//! Utilities for encoding and decoding frames.
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-current-thread/0.1.6")]
#![deny(warnings, missing_docs, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! A single-threaded executor which executes tasks on the same thread from which
//! they are spawned.
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/tokio-executor/0.1.8")]
//! Task execution related traits and utilities.
+1 -1
View File
@@ -1,5 +1,5 @@
//! Echo everything received on STDIN to STDOUT.
#![deny(deprecated, warnings)]
#![deny(deprecated)]
extern crate futures;
extern crate tokio_codec;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/tokio-fs/0.1.6")]
//! Asynchronous file and standard stream adaptation.
-1
View File
@@ -2,7 +2,6 @@
#![feature(await_macro)]
#![doc(html_root_url = "https://docs.rs/tokio-futures/0.1.0")]
#![deny(missing_docs, missing_debug_implementations)]
#![cfg_attr(test, deny(warnings))]
//! A preview of Tokio w/ `async` / `await` support.
+1 -1
View File
@@ -10,7 +10,7 @@
//! [`Stream`]: #
//! [transports]: #
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(hidden, html_root_url = "https://docs.rs/tokio-codec/0.1.0")]
// _tokio_codec are the items that belong in the `tokio_codec` crate. However, because we need to
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/tokio-io/0.1.12")]
//! Core I/O traits and combinators when working with Tokio.
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate futures;
extern crate mio;
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.1.10")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! Event loop that drives Tokio I/O resources.
//!
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![cfg_attr(test, deny(warnings))]
extern crate futures;
extern crate test;
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![cfg_attr(test, deny(warnings))]
extern crate futures;
extern crate test;
-1
View File
@@ -1,6 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-sync/0.1.6")]
#![deny(missing_debug_implementations, missing_docs, unreachable_pub)]
#![cfg_attr(test, deny(warnings))]
//! Asynchronous synchronization primitives.
//!
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate tokio_mock_task;
extern crate tokio_sync;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate tokio_sync;
fn is_error<T: ::std::error::Error + Send + Sync>() {}
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
#[macro_use]
extern crate loom;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate loom;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
#[macro_use]
extern crate futures;
#[macro_use]
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate tokio_mock_task;
extern crate tokio_sync;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate tokio_mock_task;
extern crate tokio_sync;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate tokio_mock_task;
extern crate tokio_sync;
-2
View File
@@ -1,5 +1,3 @@
#![deny(warnings)]
extern crate futures;
extern crate tokio_mock_task;
extern crate tokio_sync;
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.1.3")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! TCP bindings for `tokio`.
//!
-1
View File
@@ -1,6 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-test/0.1.0")]
#![deny(missing_docs, missing_debug_implementations, unreachable_pub)]
#![cfg_attr(test, deny(warnings))]
//! Tokio and Futures based testing utilites
//!
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate futures;
extern crate futures_cpupool;
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate futures;
extern crate rand;
-1
View File
@@ -1,5 +1,4 @@
#![feature(test)]
#![deny(warnings)]
extern crate futures;
extern crate futures_cpupool;
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.1.16")]
#![deny(warnings, missing_docs, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! A work-stealing based thread pool for executing futures.
//!
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-timer/0.2.11")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! Utilities for tracking time.
//!
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio-tcp/0.1.5")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! UDP bindings for `tokio`.
//!
+1 -1
View File
@@ -1,6 +1,6 @@
#![cfg(unix)]
#![doc(html_root_url = "https://docs.rs/tokio-uds/0.2.5")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! Unix Domain Sockets for Tokio.
//!
@@ -24,8 +24,6 @@
//! connected clients they'll all join the same room and see everyone else's
//! messages.
#![deny(warnings)]
extern crate futures;
extern crate tokio;
-2
View File
@@ -19,8 +19,6 @@
//! connected clients they'll all join the same room and see everyone else's
//! messages.
#![deny(warnings)]
extern crate futures;
extern crate tokio;
-2
View File
@@ -24,8 +24,6 @@
//! connected clients they'll all join the same room and see everyone else's
//! messages.
#![deny(warnings)]
extern crate tokio;
#[macro_use]
extern crate futures;
-2
View File
@@ -14,8 +14,6 @@
//! this repository! Many of them recommend running this as a simple "hook up
//! stdin/stdout to a server" to get up and running.
#![deny(warnings)]
extern crate bytes;
extern crate futures;
extern crate tokio;
-2
View File
@@ -10,8 +10,6 @@
//!
//! Each line you type in to the `nc` terminal should be echo'd back to you!
#![deny(warnings)]
#[macro_use]
extern crate futures;
extern crate tokio;
-2
View File
@@ -19,8 +19,6 @@
//! you! If you open up multiple terminals running the `connect` example you
//! should be able to see them all make progress simultaneously.
#![deny(warnings)]
extern crate tokio;
use tokio::io;
-2
View File
@@ -11,8 +11,6 @@
//!
//! cargo run --example hello_world
#![deny(warnings)]
extern crate tokio;
use tokio::io;
-2
View File
@@ -52,8 +52,6 @@
//! ```
//!
#![deny(warnings)]
extern crate tokio;
extern crate tokio_codec;
-2
View File
@@ -20,8 +20,6 @@
//! This final terminal will connect to our proxy, which will in turn connect to
//! the echo server, and you'll be able to see data flowing between them.
#![deny(warnings)]
extern crate tokio;
use std::env;
-2
View File
@@ -39,8 +39,6 @@
//! * `SET $key $value` - this will set the value of `$key` to `$value`,
//! returning the previous value, if any.
#![deny(warnings)]
extern crate tokio;
use std::collections::HashMap;
-2
View File
@@ -11,8 +11,6 @@
//! respectively. By default this will run I/O on all the cores your system has
//! available, and it doesn't support HTTP request bodies.
#![deny(warnings)]
extern crate bytes;
extern crate http;
extern crate httparse;
-2
View File
@@ -6,8 +6,6 @@
//! new message with a new destination. Overall, we then use this to construct a
//! "ping pong" pair where two sockets are sending messages back and forth.
#![deny(warnings)]
extern crate env_logger;
extern crate tokio;
extern crate tokio_codec;
+1 -1
View File
@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://docs.rs/tokio/0.1.22")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![deny(missing_docs, missing_debug_implementations)]
//! A runtime for writing reliable, asynchronous, and slim applications.
//!