Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quick Start

Build Tong:

cargo build -p tong

Build the sample project:

cargo run -p tong -- build examples/simple-rust-project

Run the produced binary:

./examples/simple-rust-project/target/tong/debug/bin/hello-tong

Build and run the default binary in one step:

cargo run -p tong -- run examples/simple-rust-project

Inspect the package graph:

cargo run -p tong -- plan examples/simple-rust-project

Build with release flags:

cargo run -p tong -- build --release examples/simple-rust-project