rust-lang / rustwide

Execute your code on the Rust ecosystem.
Apache License 2.0
180 stars 41 forks source link

API to allow applying patches to crates #6

Closed spennydl closed 4 years ago

spennydl commented 4 years ago

This PR is part of rust-lang/crater#441 and adds a public api to allow adding patch tables to crates.

It adds a builder in front of the BuildDirectory::build method and adds any patches to the crate's Cargo.toml during tweaking.

Thanks!

pietroalbini commented 4 years ago

When you're going to integrate this with Crater, point to the git repo initially. I'll make a release of rustwide soonish.