|
4 | 4 |
|
5 | 5 | use { |
6 | 6 | crate::release::{ |
7 | | - bootstrap_llvm, produce_install_only, produce_install_only_stripped, RELEASE_TRIPLES, |
| 7 | + RELEASE_TRIPLES, bootstrap_llvm, produce_install_only, produce_install_only_stripped, |
8 | 8 | }, |
9 | | - anyhow::{anyhow, Result}, |
| 9 | + anyhow::{Result, anyhow}, |
10 | 10 | bytes::Bytes, |
11 | 11 | clap::ArgMatches, |
12 | 12 | futures::StreamExt, |
13 | 13 | octocrab::{ |
| 14 | + Octocrab, OctocrabBuilder, |
14 | 15 | models::{repos::Release, workflows::WorkflowListArtifact}, |
15 | 16 | params::actions::ArchiveFormat, |
16 | | - Octocrab, OctocrabBuilder, |
17 | 17 | }, |
18 | 18 | rayon::prelude::*, |
19 | 19 | reqwest::{Client, StatusCode}, |
20 | 20 | reqwest_retry::{ |
21 | | - default_on_request_failure, policies::ExponentialBackoff, RetryPolicy, Retryable, |
22 | | - RetryableStrategy, |
| 21 | + RetryPolicy, Retryable, RetryableStrategy, default_on_request_failure, |
| 22 | + policies::ExponentialBackoff, |
23 | 23 | }, |
24 | 24 | sha2::{Digest, Sha256}, |
25 | 25 | std::{ |
@@ -268,6 +268,7 @@ pub async fn command_fetch_release_distributions(args: &ArgMatches) -> Result<() |
268 | 268 |
|
269 | 269 | fs.push(fetch_artifact(&client, org, repo, artifact)); |
270 | 270 | } |
| 271 | + |
271 | 272 | } |
272 | 273 |
|
273 | 274 | let mut buffered = futures::stream::iter(fs).buffer_unordered(24); |
|
0 commit comments