Rebuilding a dependency

โš“ Rust    ๐Ÿ“… 2025-07-30    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 10      

surdeus

Warning

This post was published 126 days ago. The information described in this article may have changed.

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Rebuilding a dependency

Sometimes I have to add debug code to one of my dependencies during development. But cargo doesnโ€™t autodetect changes in cargo registry and automatically recompile the project when I do that. Iโ€™ve tried deleting target/debug/deps/dep-name-* files but it doesnโ€™t work. I know I can temporarily point the project to a local clone of that dependency but I was wondering if anyone else has found an easier way of doing this.

2 posts - 2 participants

Read full topic

๐Ÿท๏ธ Rust_feed