chore: remove doc URL from Cargo.toml (#4251)

https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field

> If no URL is specified in the manifest file, crates.io will
> automatically link your crate to the corresponding docs.rs page.
This commit is contained in:
Taiki Endo
2021-11-23 11:53:32 +01:00
committed by GitHub
parent a8b662f643
commit 1a423b3322
6 changed files with 1 additions and 15 deletions
-3
View File
@@ -2,8 +2,6 @@
name = "tokio-macros" name = "tokio-macros"
# When releasing to crates.io: # When releasing to crates.io:
# - Remove path dependencies # - Remove path dependencies
# - Update doc url
# - Cargo.toml
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "tokio-macros-1.0.x" git tag. # - Create "tokio-macros-1.0.x" git tag.
version = "1.6.0" version = "1.6.0"
@@ -13,7 +11,6 @@ authors = ["Tokio Contributors <[email protected]>"]
license = "MIT" license = "MIT"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-macros/1.6.0/tokio_macros"
description = """ description = """
Tokio's proc macros. Tokio's proc macros.
""" """
-3
View File
@@ -2,8 +2,6 @@
name = "tokio-stream" name = "tokio-stream"
# When releasing to crates.io: # When releasing to crates.io:
# - Remove path dependencies # - Remove path dependencies
# - Update doc url
# - Cargo.toml
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "tokio-stream-0.1.x" git tag. # - Create "tokio-stream-0.1.x" git tag.
version = "0.1.8" version = "0.1.8"
@@ -13,7 +11,6 @@ authors = ["Tokio Contributors <[email protected]>"]
license = "MIT" license = "MIT"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-stream/0.1.8/tokio_stream"
description = """ description = """
Utilities to work with `Stream` and `tokio`. Utilities to work with `Stream` and `tokio`.
""" """
-3
View File
@@ -2,8 +2,6 @@
name = "tokio-test" name = "tokio-test"
# When releasing to crates.io: # When releasing to crates.io:
# - Remove path dependencies # - Remove path dependencies
# - Update doc url
# - Cargo.toml
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "tokio-test-0.4.x" git tag. # - Create "tokio-test-0.4.x" git tag.
version = "0.4.2" version = "0.4.2"
@@ -13,7 +11,6 @@ authors = ["Tokio Contributors <[email protected]>"]
license = "MIT" license = "MIT"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-test/0.4.2/tokio_test"
description = """ description = """
Testing utilities for Tokio- and futures-based code Testing utilities for Tokio- and futures-based code
""" """
-3
View File
@@ -2,8 +2,6 @@
name = "tokio-util" name = "tokio-util"
# When releasing to crates.io: # When releasing to crates.io:
# - Remove path dependencies # - Remove path dependencies
# - Update doc url
# - Cargo.toml
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "tokio-util-0.6.x" git tag. # - Create "tokio-util-0.6.x" git tag.
version = "0.6.9" version = "0.6.9"
@@ -13,7 +11,6 @@ authors = ["Tokio Contributors <[email protected]>"]
license = "MIT" license = "MIT"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-util/0.6.9/tokio_util"
description = """ description = """
Additional utilities for working with Tokio. Additional utilities for working with Tokio.
""" """
-2
View File
@@ -3,7 +3,6 @@ name = "tokio"
# When releasing to crates.io: # When releasing to crates.io:
# - Remove path dependencies # - Remove path dependencies
# - Update doc url # - Update doc url
# - Cargo.toml
# - README.md # - README.md
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "v1.0.x" git tag. # - Create "v1.0.x" git tag.
@@ -13,7 +12,6 @@ rust-version = "1.46"
authors = ["Tokio Contributors <[email protected]>"] authors = ["Tokio Contributors <[email protected]>"]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
documentation = "https://docs.rs/tokio/1.14.0/tokio/"
repository = "https://github.com/tokio-rs/tokio" repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs" homepage = "https://tokio.rs"
description = """ description = """
+1 -1
View File
@@ -135,7 +135,7 @@ rt_test! {
let contents = Handle::current() let contents = Handle::current()
.block_on(fs::read_to_string("Cargo.toml")) .block_on(fs::read_to_string("Cargo.toml"))
.unwrap(); .unwrap();
assert!(contents.contains("Cargo.toml")); assert!(contents.contains("https://tokio.rs"));
} }
#[test] #[test]