From 3c85532a7649496c4d06e5a9925f06af75f690dd Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 15 Dec 2019 17:34:11 -0800 Subject: [PATCH] Fix docs --- postgres/src/lib.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/postgres/src/lib.rs b/postgres/src/lib.rs index b2ff8454..a33354b9 100644 --- a/postgres/src/lib.rs +++ b/postgres/src/lib.rs @@ -36,15 +36,9 @@ //! //! # Implementation //! -//! This crate is a lightweight wrapper over tokio-postgres. The `tokio_postgres::Connection` is spawned onto an -//! executor, and the `tokio_postgres::Client` is wrapped in the `postgres::Client`, which simply waits on the futures -//! the nonblocking client creates. -//! -//! # Runtime -//! -//! A client can be constructed directly from a `tokio-postgres` client via a `From` implementation, but the `runtime` -//! Cargo feature (enabled by default) provides a more convenient interface. By default, connections will be spawned -//! onto a static tokio `Runtime`, but a custom `Executor` can also be used instead. +//! This crate is a lightweight wrapper over tokio-postgres. The `postgres::Client` is simply a wrapper around a +//! `tokio_postgres::Client` along side a tokio `Runtime`. The client simply blocks on the futures provided by the async +//! client. //! //! # SSL/TLS support //!