The Cargo Book

Cargo Guide

This guide will give you all that you need to know about how to use Cargo to develop Rust packages.

  • Why Cargo Exists
  • Creating a New Package
  • Working on an Existing Cargo Package
  • Dependencies
  • Package Layout
  • Cargo.toml vs Cargo.lock
  • Tests
  • Continuous Integration
  • Publishing on crates.io
  • Cargo Home