Cargo vendoring with cdylib builds

55 · Users Rust Lang · July 24, 2026, 4:22 a.m.
Summary
This blog post discusses a proposed change to the Rust package manager Cargo regarding the handling of `Cargo.lock` files in crates, particularly when the crates are treated as cdylibs. The post highlights issues encountered with `Cargo.lock` being ignored due to `.gitignore` settings, leading to build failures, and raises the need for a consistent approach to including `Cargo.lock` in published crates.