Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Shipping Rust

Pragmatic AI Labs via Coursera

Overview

AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off your first 3 months — limited time.
Unlock All Certificates
Take a Rust crate from a "works on my machine" laptop build to a production-grade artifact that ships through a gate no one can bypass. The course walks through a real 3-crate ETL workspace — etl-core, etl-cli, and etl-bench — built around clap derive macros, a tuned `[profile.release]`, and a multi-stage Dockerfile that drops a 1.8 GB rust:latest image to a 6 MB scratch+musl container with no shell to attack. You then wire pmat, bashrs, forjar, and pv onto the standard fmt + clippy + test + 100% coverage + audit + deny stack — because a green build badge is misleading when an agent wrote half the code. A five-job GitHub Actions matrix runs stable, beta, and Minimum Supported Rust Version on Linux, macOS, and Windows in parallel, with cached cold builds reduced to two-minute incremental ones. You close with criterion — warmup, statistical sampling, the HTML report — and a regression gate that fails the build on a measurable throughput drop. Every concept is tied to runnable code and Provable contracts in the case-study repo.

Syllabus

  • Build a Rust Binary
    • Open with a guided tour of the shipping-rust workspace on GitHub, then build a Rust binary CLI from cargo new --bin to a 6 MB stripped self-documented executable, then ship it inside a scratch+musl Docker image with no attack surface beyond the binary itself.
  • Ship It With Confidence
    • Add a Git pre-commit hook that runs cargo fmt, clippy, and test before any commit. Configure GitHub Actions to enforce the same gates on every push and pull request. Benchmark the binary with criterion and prove a release-build speedup with statistical confidence intervals.
  • Capstone
    • Build a CLI from scratch in one sitting using everything from this course. Ship a binary and a Docker image, set up CI gates, run criterion benchmarks, and tag a versioned release on GitHub.

Taught by

Noah Gift

Reviews

Start your review of Shipping Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.