From 59e0c9dfdbbe805c5b46b7171b9a0394b975abab Mon Sep 17 00:00:00 2001 From: tottoto Date: Sun, 2 Mar 2025 00:16:52 +0900 Subject: [PATCH] chore: Remove documentation config in manifest --- prepare-release.sh | 4 ---- tonic-build/Cargo.toml | 1 - tonic-health/Cargo.toml | 1 - tonic-reflection/Cargo.toml | 1 - tonic-types/Cargo.toml | 1 - tonic-web/Cargo.toml | 1 - tonic/Cargo.toml | 4 ---- 7 files changed, 13 deletions(-) diff --git a/prepare-release.sh b/prepare-release.sh index 3e6caa34b..1c5254bd4 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -33,10 +33,6 @@ CRATES=( \ ) for CRATE in "${CRATES[@]}"; do - # Update documentation url in Cargo.toml - sed -i -E "s~documentation = \"https://docs\.rs/$CRATE/$VERSION_MATCHER\"~documentation = \"https://docs.rs/${CRATE}/${VERSION}\"~" \ - "$DIR/$CRATE/Cargo.toml" - # Update Cargo.toml version fields. sed -i -E "s/^version = \"${VERSION_MATCHER}\"$/version = \"${VERSION}\"/" \ "$DIR/$CRATE/Cargo.toml" diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index 456eda887..e47b3307e 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -4,7 +4,6 @@ categories = ["network-programming", "asynchronous"] description = """ Codegen module of `tonic` gRPC implementation. """ -documentation = "https://docs.rs/tonic-build/0.13.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "async", "codegen", "protobuf"] diff --git a/tonic-health/Cargo.toml b/tonic-health/Cargo.toml index 95a6ad147..fe6fd2a52 100644 --- a/tonic-health/Cargo.toml +++ b/tonic-health/Cargo.toml @@ -4,7 +4,6 @@ categories = ["network-programming", "asynchronous"] description = """ Health Checking module of `tonic` gRPC implementation. """ -documentation = "https://docs.rs/tonic-health/0.13.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "async", "healthcheck"] diff --git a/tonic-reflection/Cargo.toml b/tonic-reflection/Cargo.toml index 09a30ea80..85b498276 100644 --- a/tonic-reflection/Cargo.toml +++ b/tonic-reflection/Cargo.toml @@ -9,7 +9,6 @@ Server Reflection module of `tonic` gRPC implementation. """ edition = "2021" homepage = "https://github.com/hyperium/tonic" -documentation = "https://docs.rs/tonic-reflection/0.13.0" keywords = ["rpc", "grpc", "async", "reflection"] license = "MIT" name = "tonic-reflection" diff --git a/tonic-types/Cargo.toml b/tonic-types/Cargo.toml index 2ee953238..6ea75da69 100644 --- a/tonic-types/Cargo.toml +++ b/tonic-types/Cargo.toml @@ -7,7 +7,6 @@ categories = ["web-programming", "network-programming", "asynchronous"] description = """ A collection of useful protobuf types that can be used with `tonic`. """ -documentation = "https://docs.rs/tonic-types/0.13.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "protobuf"] diff --git a/tonic-web/Cargo.toml b/tonic-web/Cargo.toml index e6ca057f8..b3301aaa4 100644 --- a/tonic-web/Cargo.toml +++ b/tonic-web/Cargo.toml @@ -4,7 +4,6 @@ categories = ["network-programming", "asynchronous"] description = """ grpc-web protocol translation for tonic services. """ -documentation = "https://docs.rs/tonic-web/0.13.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "grpc-web"] diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 76b28ad0c..3d05fa0b1 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -2,9 +2,6 @@ name = "tonic" # When releasing to crates.io: # - Remove path dependencies -# - Update doc url -# - Cargo.toml -# - README.md # - Update CHANGELOG.md. # - Create "v0.11.x" git tag. authors = ["Lucio Franco "] @@ -12,7 +9,6 @@ categories = ["web-programming", "network-programming", "asynchronous"] description = """ A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility. """ -documentation = "https://docs.rs/tonic/0.13.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "async", "futures", "protobuf"]