Skip to content

Commit

Permalink
Switch to direct CDN downloads
Browse files Browse the repository at this point in the history
Summary:
Fixes #43.

See rust-lang/crates.io-index@0f11dc0.

Reviewed By: zertosh

Differential Revision: D55542601

fbshipit-source-id: d5843bd6c1bb57c665b259e37220f7b537ae839c
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Mar 29, 2024
1 parent 48fca08 commit a059ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buckify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ fn generate_http_archive<'scope>(
strip_prefix: format!("{}-{}", pkg.name, pkg.version),
sub_targets: BTreeSet::new(), // populated later after all fixups are constructed
urls: vec![format!(
"https://crates.io/api/v1/crates/{}/{}/download",
"https://static.crates.io/crates/{}/{}/download",
pkg.name, pkg.version,
)],
visibility: Visibility::Private,
Expand Down

0 comments on commit a059ffe

Please sign in to comment.