INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
212 stars 53 forks source link

Make cargo use the "sparse" protocol to download the creates index. #934

Closed gouttegd closed 9 months ago

gouttegd commented 9 months ago

The default protocol that Cargo is using to download its index of crates is somehow too resource-consuming when the ODK is built under BuildKit (to build multiarch image). So we force Cargo to use the new HTTP-based "sparse" protocol, which is supposedly much more efficient and does not seem to cause issue with BuildKit.

This is the same as #933, but applied to the 1.4 branch.

gouttegd commented 9 months ago

@matentzn Given that the 1.4.3 release was built off that branch, I assume you approve of it. :)