diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4d2a5e6866c..d2244ecc29e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -571,9 +571,8 @@ When releasing a new version of a crate, follow these steps: 2. **Update Cargo metadata.** After releasing any path dependencies, update the `version` field in `Cargo.toml` to the new version, and the `documentation` field to the docs.rs URL of the new version. -3. **Update other documentation links.** Update the `#![doc(html_root_url)]` - attribute in the crate's `lib.rs` and the "Documentation" link in the crate's - `README.md` to point to the docs.rs URL of the new version. +3. **Update other documentation links.** Update the "Documentation" link in the + crate's `README.md` to point to the docs.rs URL of the new version. 4. **Update the changelog for the crate.** Each crate in the Tokio repository has its own `CHANGELOG.md` in that crate's subdirectory. Any changes to that crate since the last release should be added to the changelog. Change diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index ea7b2dee1c5..e8d0f5142d6 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -2,7 +2,6 @@ name = "tokio-macros" # When releasing to crates.io: # - Remove path dependencies -# - Update html_root_url. # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 5e41a5ed16e..46879f822e1 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -1,4 +1,3 @@ -#![doc(html_root_url = "https://docs.rs/tokio-macros/1.1.0")] #![allow(clippy::needless_doctest_main)] #![warn( missing_debug_implementations, diff --git a/tokio-stream/Cargo.toml b/tokio-stream/Cargo.toml index 6fd90325ab6..b64d8399d1f 100644 --- a/tokio-stream/Cargo.toml +++ b/tokio-stream/Cargo.toml @@ -2,7 +2,6 @@ name = "tokio-stream" # When releasing to crates.io: # - Remove path dependencies -# - Update html_root_url. # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. diff --git a/tokio-stream/src/lib.rs b/tokio-stream/src/lib.rs index 731e0e57014..98132387098 100644 --- a/tokio-stream/src/lib.rs +++ b/tokio-stream/src/lib.rs @@ -1,4 +1,3 @@ -#![doc(html_root_url = "https://docs.rs/tokio-stream/0.1.3")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant, diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 52e48e1fad6..2a66e4fe4f1 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -2,7 +2,6 @@ name = "tokio-test" # When releasing to crates.io: # - Remove path dependencies -# - Update html_root_url. # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. diff --git a/tokio-test/src/lib.rs b/tokio-test/src/lib.rs index 47e2b03c134..93d8b02d688 100644 --- a/tokio-test/src/lib.rs +++ b/tokio-test/src/lib.rs @@ -1,4 +1,3 @@ -#![doc(html_root_url = "https://docs.rs/tokio-test/0.4.0")] #![warn( missing_debug_implementations, missing_docs, diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index 1930563476c..5827545e43a 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -2,7 +2,6 @@ name = "tokio-util" # When releasing to crates.io: # - Remove path dependencies -# - Update html_root_url. # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. diff --git a/tokio-util/src/lib.rs b/tokio-util/src/lib.rs index 440deb6c18b..2460c8b49af 100644 --- a/tokio-util/src/lib.rs +++ b/tokio-util/src/lib.rs @@ -1,4 +1,3 @@ -#![doc(html_root_url = "https://docs.rs/tokio-util/0.6.3")] #![allow(clippy::needless_doctest_main)] #![warn( missing_debug_implementations, diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 33c371c98ae..fd9831076f4 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -2,7 +2,6 @@ name = "tokio" # When releasing to crates.io: # - Remove path dependencies -# - Update html_root_url. # - Update doc url # - Cargo.toml # - README.md diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 46f1b84f8ce..f6c502e56c0 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,3 @@ -#![doc(html_root_url = "https://docs.rs/tokio/1.2.0")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant,