actions-rust-lang / setup-rust-toolchain

Setup a specific Rust toolchain with extra features like problem matchers
MIT License
180 stars 32 forks source link

Use sparse registry on nightly #5

Closed jonasbb closed 2 years ago

jonasbb commented 2 years ago

The nightly sparse registry feature is reported to be much faster and no negative consequences have been reported. https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862

Add CARGO_UNSTABLE_SPARSE_REGISTRY: "true" to the default variables.