diff --git a/README.md b/README.md index b81a6716f..232e33b03 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ TLS support for postgres and tokio-postgres via native-tls. TLS support for postgres and tokio-postgres via openssl. +## Related crates + +[`pg_named_args`](https://crates.io/crates/pg_named_args) enables one to use +named arguments in queries. The provided macro converts the named arguments to +positional arguments at compile time. + # Running test suite The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker: diff --git a/postgres/src/lib.rs b/postgres/src/lib.rs index ddf1609ad..37f4fe70f 100644 --- a/postgres/src/lib.rs +++ b/postgres/src/lib.rs @@ -64,6 +64,12 @@ //! | `with-uuid-1` | Enable support for the `uuid` crate. | [uuid](https://crates.io/crates/uuid) 1.0 | no | //! | `with-time-0_2` | Enable support for the 0.2 version of the `time` crate. | [time](https://crates.io/crates/time/0.2.0) 0.2 | no | //! | `with-time-0_3` | Enable support for the 0.3 version of the `time` crate. | [time](https://crates.io/crates/time/0.3.0) 0.3 | no | +//! +//! # Related crates +//! +//! [`pg_named_args`](https://crates.io/crates/pg_named_args) enables one to use named arguments +//! in queries. The provided macro converts the named arguments to positional arguments at compile +//! time. #![warn(clippy::all, rust_2018_idioms, missing_docs)] pub use fallible_iterator; diff --git a/tokio-postgres/src/lib.rs b/tokio-postgres/src/lib.rs index 2973d33b0..57e1620de 100644 --- a/tokio-postgres/src/lib.rs +++ b/tokio-postgres/src/lib.rs @@ -116,6 +116,12 @@ //! | `with-uuid-1` | Enable support for the `uuid` crate. | [uuid](https://crates.io/crates/uuid) 1.0 | no | //! | `with-time-0_2` | Enable support for the 0.2 version of the `time` crate. | [time](https://crates.io/crates/time/0.2.0) 0.2 | no | //! | `with-time-0_3` | Enable support for the 0.3 version of the `time` crate. | [time](https://crates.io/crates/time/0.3.0) 0.3 | no | +//! +//! # Related crates +//! +//! [`pg_named_args`](https://crates.io/crates/pg_named_args) enables one to use named arguments +//! in queries. The provided macro converts the named arguments to positional arguments at compile +//! time. #![warn(rust_2018_idioms, clippy::all, missing_docs)] pub use crate::cancel_token::CancelToken;