Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d77b36

Browse files
committed
Add a reference to the related cratepg_named_args
1 parent270a29b commit3d77b36

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

‎postgres/src/lib.rs‎

Lines changed: 6 additions & 0 deletions
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
pubuse fallible_iterator;

‎tokio-postgres/src/lib.rs‎

Lines changed: 6 additions & 0 deletions
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
pubusecrate::cancel_token::CancelToken;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp