From a79fdbb3ad428c5d6052c9defa543e9c5853e765 Mon Sep 17 00:00:00 2001 From: Tom Scanlan Date: Sun, 24 Sep 2023 17:14:13 -0400 Subject: [PATCH] docs: warn about upload timeout --- src/doc/man/cargo-publish.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/doc/man/cargo-publish.md b/src/doc/man/cargo-publish.md index 4e4d3b70ebf..c5e64db80de 100644 --- a/src/doc/man/cargo-publish.md +++ b/src/doc/man/cargo-publish.md @@ -22,8 +22,11 @@ following steps: - Checks the `package.publish` key in the manifest for restrictions on which registries you are allowed to publish to. 2. Create a `.crate` file by following the steps in {{man "cargo-package" 1}}. -3. Upload the crate to the registry. Note that the server will perform - additional checks on the crate. +3. Upload the crate to the registry. The server will perform additional + checks on the crate. +4. The client will poll waiting for the package to appear in the index, + and may timeout. In that case, you will need to check for completion + manually. This timeout does not affect the upload. This command requires you to be authenticated with either the `--token` option or using {{man "cargo-login" 1}}.