Skip to content

Commit 3d77b36

Browse files
committed
Add a reference to the related crate pg_named_args
1 parent 270a29b commit 3d77b36

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

postgres/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
//! | `with-uuid-1` | Enable support for the `uuid` crate. | [uuid](https://crates.io/crates/uuid) 1.0 | no |
6565
//! | `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 |
6666
//! | `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 |
67+
//!
68+
//! # Related crates
69+
//!
70+
//! - [`pg_named_args`](https://crates.io/crates/pg_named_args) enables one to use named arguments
71+
//! in queries. The provided macro converts the named arguments to positional arguments at compile
72+
//! time.
6773
#![warn(clippy::all, rust_2018_idioms, missing_docs)]
6874

6975
pub use fallible_iterator;

tokio-postgres/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@
116116
//! | `with-uuid-1` | Enable support for the `uuid` crate. | [uuid](https://crates.io/crates/uuid) 1.0 | no |
117117
//! | `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 |
118118
//! | `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 |
119+
//!
120+
//! # Related crates
121+
//!
122+
//! - [`pg_named_args`](https://crates.io/crates/pg_named_args) enables one to use named arguments
123+
//! in queries. The provided macro converts the named arguments to positional arguments at compile
124+
//! time.
119125
#![warn(rust_2018_idioms, clippy::all, missing_docs)]
120126

121127
pub use crate::cancel_token::CancelToken;

0 commit comments

Comments
 (0)