@@ -276,8 +276,8 @@ abcdefghijklmnopqrstuvwxyz012345
276276```
277277
278278This command will inform Cargo of your API token and store it locally in
279- _ ~ /.cargo/credentials _ . Note that this token is a _ secret_ : do not share it
280- with anyone else. If you do share it with anyone for any reason, you should
279+ _ ~ /.cargo/credentials.toml _ . Note that this token is a _ secret_ : do not share
280+ it with anyone else. If you do share it with anyone for any reason, you should
281281revoke it and generate a new token on [ crates.io] ( https://crates.io/ ) <!-- ignore
282282-->.
283283
@@ -381,12 +381,12 @@ Publishing a crate uploads a specific version to
381381[ crates.io] ( https://crates.io/ ) <!-- ignore --> for others to use.
382382
383383Be careful, because a publish is _ permanent_ . The version can never be
384- overwritten, and the code cannot be deleted. One major goal of
385- [ crates.io] ( https://crates.io/ ) <!-- ignore --> is to act as a permanent archive
386- of code so that builds of all projects that depend on crates from
387- [ crates.io] ( https://crates.io/ ) <!-- ignore --> will continue to work. Allowing
388- version deletions would make fulfilling that goal impossible. However, there is
389- no limit to the number of crate versions you can publish.
384+ overwritten, and the code cannot be deleted except in certain circumstances.
385+ One major goal of [ crates.io] ( https://crates.io/ ) <!-- ignore --> is to act as a
386+ permanent archive of code so that builds of all projects that depend on crates
387+ from [ crates.io] ( https://crates.io/ ) <!-- ignore --> will continue to work.
388+ Allowing version deletions would make fulfilling that goal impossible. However,
389+ there is no limit to the number of crate versions you can publish.
390390
391391Run the ` cargo publish ` command again. It should succeed now:
392392
@@ -400,11 +400,17 @@ copy just the relevant lines below
400400$ cargo publish
401401 Updating crates.io index
402402 Packaging guessing_game v0.1.0 (file:///projects/guessing_game)
403+ Packaged 6 files, 1.2KiB (895.0B compressed)
403404 Verifying guessing_game v0.1.0 (file:///projects/guessing_game)
404405 Compiling guessing_game v0.1.0
405406(file:///projects/guessing_game/target/package/guessing_game-0.1.0)
406407 Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
407408 Uploading guessing_game v0.1.0 (file:///projects/guessing_game)
409+ Uploaded guessing_game v0.1.0 to registry `crates-io`
410+ note: waiting for `guessing_game v0.1.0` to be available at registry
411+ `crates-io`.
412+ You may press ctrl-c to skip waiting; the crate should be available shortly.
413+ Published guessing_game v0.1.0 at registry `crates-io`
408414```
409415
410416Congratulations! You’ve now shared your code with the Rust community, and
0 commit comments