Wrapping Cargo for Shipping
summary
Claim: Cargo can emit full app bundles but only as a proof of concept with many caveats. The project builds an Osiris extension that uses cargo extension hooks and a package.metadata build target to postprocess artifacts; it produces working bundles for Windows, macOS, Android and Linux in proofs of concept. Tools used: rust-android-gradle, cargo-xcode, MesonCargo, corrosion, and platform packagers; blockers are ad‑hoc execution limits, Android Java entry points, unreliable artifact typing, platform instability, and the unstable binary-dependencies feature.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 3:10Why Rust’s current model fails
- 9:08Benefits of application bundles
- 12:43Status quo for Rust applications
- 16:55Simplifying with Cargo
- 21:47Challenges in implementation
- 28:13Future of Cargo and bundles
- 29:49Q&A session
related talks
25mUnlocking the full potential of Cargo extensions in Rust development
16mCargo, or how to extend Rust tooling to infinity!
47mIt's all in the delivery
21m"What Happens When You Run Cargo Build?"
22mShipping a Solid Rust Crate
56mPackaging Rust for Debian
31mThe Dark Secrets Lurking Inside cargo doc
21mRust - Cargo Cult?
