October 2019
Intermediate to advanced
444 pages
10h 37m
English
For this recipe, we are going to publish a crate with minimal functionality. If you already have source code to work on (that is, your own project), feel free to use it. If not, create a new library project using cargo new public-crate --lib and open it in VS Code:

Go to https://crates.io and log in to your account (using https://github.com). Then, go to the Account Settings page to create a new token (follow the instructions on the page). Log in on the command line using your own token:

Let's take a look at the steps we need ...
Read now
Unlock full access