-
Notifications
You must be signed in to change notification settings - Fork 180
minor: fix external crate links #552
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
//! This crate contains the officially supported MongoDB Rust driver, a | ||
//! client side library that can be used to interact with MongoDB deployments | ||
//! in Rust applications. It uses the [`bson`](docs.rs/bson) crate for BSON support. | ||
//! The driver contains a fully async API that supports either [`tokio`](docs.rs/tokio) (default) | ||
//! or [`async-std`](docs.rs/async-std), depending on the feature flags set. The driver also has | ||
//! in Rust applications. It uses the [`bson`] crate for BSON support. | ||
//! The driver contains a fully async API that supports either [`tokio`] (default) | ||
//! or [`async-std`](https://docs.rs/async_std), depending on the feature flags set. The driver also has | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using an absolute link here because async-std is an optional dependency, which causes docs tests to fail when the async-std feature is not enabled. |
||
//! a sync API that may be enabled via the `"sync"` feature flag. | ||
//! | ||
//! # Installation | ||
|
@@ -56,8 +56,8 @@ | |
//! | `async-std-runtime` | Enable support for the `async-std` runtime | `async-std` 1.0 | no | | ||
//! | `sync` | Expose the synchronous API (`mongodb::sync`). This flag cannot be used in conjunction with either of the async runtime feature flags. | `async-std` 1.0 | no | | ||
//! | `aws-auth` | Enable support for the MONGODB-AWS authentication mechanism. | `reqwest` 0.11 | no | | ||
//! | `bson-uuid-0_8` | Enable support for v0.8 of the [`uuid`](docs.rs/uuid/0.8) crate in the public API of the re-exported `bson` crate. | n/a | no | | ||
//! | `bson-chrono-0_4` | Enable support for v0.4 of the [`chrono`](docs.rs/chrono/0.4) crate in the public API of the re-exported `bson` crate. | n/a | no | | ||
//! | `bson-uuid-0_8` | Enable support for v0.8 of the [`uuid`] crate in the public API of the re-exported `bson` crate. | n/a | no | | ||
//! | `bson-chrono-0_4` | Enable support for v0.4 of the [`chrono`] crate in the public API of the re-exported `bson` crate. | n/a | no | | ||
//! | `zlib-compression`] | Enable support for compressing messages with [`zlib`](https://zlib.net/). | `flate2` 1.0 | no | | ||
//! | `zstd-compression` | Enable support for compressing messages with [`zstd`](http://facebook.github.io/zstd/). This flag requires Rust version 1.54. | `zstd` 0.9.0 | no | | ||
//! | `snappy-compression` | Enable support for compressing messages with [`snappy`](http://google.github.io/snappy/). | `snap` 1.0.5 | no | | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Links aren't required for external crates specified in this format.
docs.rs/bson
was being treated as a relative link (i.e.https://docs.rs/mongodb/latest/mongodb/docs.rs/bson
); omitting it fixes the issue and properly links to the bson crate.