async_await is stable on nightly now
This commit is contained in:
parent
aa44090fad
commit
c026644820
@ -47,7 +47,6 @@
|
|||||||
//! ```
|
//! ```
|
||||||
#![doc(html_root_url = "https://docs.rs/postgres-native-tls/0.2.0-rc.1")]
|
#![doc(html_root_url = "https://docs.rs/postgres-native-tls/0.2.0-rc.1")]
|
||||||
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
||||||
#![feature(async_await)]
|
|
||||||
|
|
||||||
use std::future::Future;
|
use std::future::Future;
|
||||||
use std::pin::Pin;
|
use std::pin::Pin;
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
//! ```
|
//! ```
|
||||||
#![doc(html_root_url = "https://docs.rs/postgres-openssl/0.2.0-rc.1")]
|
#![doc(html_root_url = "https://docs.rs/postgres-openssl/0.2.0-rc.1")]
|
||||||
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
||||||
#![feature(async_await)]
|
|
||||||
|
|
||||||
#[cfg(feature = "runtime")]
|
#[cfg(feature = "runtime")]
|
||||||
use openssl::error::ErrorStack;
|
use openssl::error::ErrorStack;
|
||||||
|
@ -54,7 +54,6 @@
|
|||||||
//! crates, respectively.
|
//! crates, respectively.
|
||||||
#![doc(html_root_url = "https://docs.rs/postgres/0.16.0-rc.2")]
|
#![doc(html_root_url = "https://docs.rs/postgres/0.16.0-rc.2")]
|
||||||
#![warn(clippy::all, rust_2018_idioms, missing_docs)]
|
#![warn(clippy::all, rust_2018_idioms, missing_docs)]
|
||||||
#![feature(async_await)]
|
|
||||||
|
|
||||||
#[cfg(feature = "runtime")]
|
#[cfg(feature = "runtime")]
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
@ -106,7 +106,6 @@
|
|||||||
//! crates, respectively.
|
//! crates, respectively.
|
||||||
#![doc(html_root_url = "https://docs.rs/tokio-postgres/0.4.0-rc.3")]
|
#![doc(html_root_url = "https://docs.rs/tokio-postgres/0.4.0-rc.3")]
|
||||||
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
|
||||||
#![feature(async_await)]
|
|
||||||
|
|
||||||
pub use crate::client::Client;
|
pub use crate::client::Client;
|
||||||
pub use crate::config::Config;
|
pub use crate::config::Config;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#![warn(rust_2018_idioms)]
|
#![warn(rust_2018_idioms)]
|
||||||
#![feature(async_await)]
|
|
||||||
|
|
||||||
use futures::channel::mpsc;
|
use futures::channel::mpsc;
|
||||||
use futures::{future, stream, StreamExt};
|
use futures::{future, stream, StreamExt};
|
||||||
|
Loading…
Reference in New Issue
Block a user