Re: Problems publishing Rust crates (was: [ANNOUNCE] Git v2.49.0)
- From
Josh Steadmon <steadmon@google.com>
- Date
- Mar 17, 2025, 18:49 UTC
- Message-ID
- <y53krdpxppjsc7qnua6otf7e7vx5yxhiyzilacie5a6vsle3s4@qhvmyqyf63jq>
- In-Reply-To
- <4zi3re4viluih7qwvwlu7mp3j6e6gjexz2bppa5am45nnqkezz@7vtwmyrfdwvi>
On 2025.03.14 12:43, Josh Steadmon wrote:
Show 12 quoted lines
> On 2025.03.14 10:16, Junio C Hamano wrote: > > * Foreign language interface for Rust into our code base has been added. > > Unfortunately, I've run into problems publishing the new crates to > crates.io. Specifically, the build process for `cargo publish` is > different from `cargo build` in that the root of the repository is not > included, and therefore our build.rs scripts cannot find the top-level > Makefile or any of the Git sources outside of `contrib/libgit-*`. > > To prevent squatters from stealing the libgit* crate names, I've > published placeholder crates, which we can replace once we've fixed the > build issues.
I have some pre-RFC-quality fixes for this. I'll need to split them up into logical changes, add some explanation and discuss alternatives considered, etc. I should be able to send them to the list sometime tomorrow.