Skip to content

Commit

Permalink
Use Cargo's sparse protocol
Browse files Browse the repository at this point in the history
Cargo's sparse protocol was introduced in Rust 1.68.0.
By enabling this, the total amount of source code to be retrieved when installing with `cargo install` can be significantly reduced.
As a result, the speed of CI and development speed will improve.
  • Loading branch information
kitsuyui committed Mar 11, 2023
1 parent 0ac01d5 commit 3aacf3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[registries.crates-io]
protocol = "sparse"

[target.'cfg(all())']
rustflags = [
"-Wclippy::fallible_impl_from",
Expand Down

0 comments on commit 3aacf3a

Please sign in to comment.