ABSTRACT

This chapter discusses customizing builds with release profiles, publishing a crate to crates.io and cargo workspaces. Rust's release profiles are predefined and customizable profiles with various configurations that give a programmer more control over specific compiling options. Cargo has two major profiles: dev and release. Cargo is built to add new subcommands without having to change them. Cargo's design makes it extremely straightforward to use cargo install to install extensions and execute them exactly like the built-in cargo capabilities. The major functionality of the binary will be dependent on the two libraries. Cargo's design makes it extremely straightforward to use cargo install to install extensions and execute them exactly like the built-in cargo capabilities.