Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a reference to the related crate pg_named_args #1115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions postgres/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions tokio-postgres/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down