mokeyish / cargo-patch-crate

Fix broken crates instantly 🏃🏽‍♀️💨
MIT License
17 stars 2 forks source link

Removing cargo dependency #6

Open oNaiPs opened 1 week ago

oNaiPs commented 1 week ago

Hi there, One of the things i dislike most from using this project is that it takes a long time to build and has a lot of dependencies, namely due to cargo.

I wonder if its feasible to use cargo metadata output to achieve the same goal? Its supposed to be a somewhat stable format, and everything from metadata.patch.crates to resolved dependencies is there.

Thanks!

mokeyish commented 1 week ago

Maybe, you can give it a try. This project uses cargo to download dependencies, copy them to target/patch, modify them, and then update cargo.toml to use them.