File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3
3
set -o errexit
4
4
5
5
. ~ /.cargo/env
6
- cargo +nightly rustdoc -p bson --all-features -- --cfg docsrs -D warnings
6
+ cargo rustdoc -- -D warnings
7
+ cargo rustdoc --no-default-features --features async-std-runtime -- -D warnings
8
+ cargo rustdoc --no-default-features --features sync -- -D warnings
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ pub enum AuthMechanism {
82
82
///
83
83
/// Note: Only server versions 4.4+ support AWS authentication. Additionally, the driver only
84
84
/// supports AWS authentication with the tokio runtime.
85
- #[ cfg( feature = "aws-auth" ) ]
85
+ #[ cfg( any( feature = "aws-auth" , docsrs) ) ]
86
+ #[ cfg_attr( docsrs, doc( cfg( feature = "aws-auth" ) ) ) ]
86
87
MongoDbAws ,
87
88
}
88
89
Original file line number Diff line number Diff line change 115
115
//! # Ok(()) }
116
116
//! ```
117
117
//!
118
- //! A [`Collection`] can be parameterized with any type that implements the
118
+ //! A [`Collection`](struct.Collection.html) can be parameterized with any type that implements the
119
119
//! `Serialize` and `Deserialize` traits from the [`serde`](https://serde.rs/) crate,
120
120
//! not just `Document`:
121
121
//!
155
155
//! ```
156
156
//!
157
157
//! ### Finding documents in a collection
158
- //! Results from queries are generally returned via [`Cursor`], a struct which streams the results
159
- //! back from the server as requested. The [`Cursor`] type implements the
158
+ //! Results from queries are generally returned via [`Cursor`](struct.Cursor.html) , a struct which streams
159
+ //! the results back from the server as requested. The [`Cursor`](struct.Cursor.html) type implements the
160
160
//! [`Stream`](https://docs.rs/futures/latest/futures/stream/trait.Stream.html) trait from
161
161
//! the [`futures`](https://crates.io/crates/futures) crate, and in order to access its streaming
162
162
//! functionality you need to import at least one of the
You can’t perform that action at this time.
0 commit comments