Knowledge Garden

Search

Search IconIcon to open search

Rust Crates Info

Last updated Dec 1, 2022 Edit Source

# Crates

once published it can’t be removed. Don’t publish useless packages.

Package names need to be unique.

  1. log into crate.io
  2. go to account settings
    1. get the api access token
  3. then run cargo login and use the access token

# how to prepare package for publishing

the cargo.toml needs to be filled out

then you run cargo publish

docs.rs automatically publishes the documentation