Skip to content

Commit

Permalink
Merge pull request #95 from LedgerHQ/cargo-sparse-registry
Browse files Browse the repository at this point in the history
Use sparse registry protocol in cargo config
  • Loading branch information
agrojean-ledger authored Nov 30, 2023
2 parents 96fd0a6 + e3e7b61 commit 6fb08fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.9.2] - 2023-11-30

### Changed
- Configure cargo to use sparse registry protocol to gather dependencies during a build (faster)

## [3.9.1] - 2023-11-17

### Changed
Expand Down
4 changes: 4 additions & 0 deletions full/cargo_global_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# see https://ledger.slack.com/archives/C04SY25SREX/p1698055418107969
host-config = true
target-applies-to-host = true
sparse-registry = true

[host]
rustflags = ["-Ctarget-feature=-crt-static"]

[registries.crates-io]
protocol = "sparse"

0 comments on commit 6fb08fb

Please sign in to comment.