CosmWasm / optimizer

Dockerfile and script to deterministically produce the smallest possible Wasm for your Rust contract
Apache License 2.0
123 stars 61 forks source link

Bump Rust to 1.68.0 with sparse protocol support #117

Closed aelesbao closed 1 year ago

aelesbao commented 1 year ago

The new version of Rust added a feature that allows switching the protocol used to fetch the index for crates.io.

The default implementation uses git, which downloads the entire GitHub repository with thousands of crates that aren't used during the build process. The new sparse protocol uses HTTPS instead to download only the dependencies defined in the Cargo.toml file.

webmaster128 commented 1 year ago

I'll publish this together with https://github.com/CosmWasm/rust-optimizer/issues/119 later this week