mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Update dependencies
This commit is contained in:
parent
474e9f5e31
commit
6aa4078be3
6 changed files with 342 additions and 92 deletions
|
|
@ -26,14 +26,15 @@ pub fn find_resolution(
|
|||
}
|
||||
|
||||
pub async fn download_segments(
|
||||
ctx: &Context,
|
||||
_ctx: &Context,
|
||||
writer: &mut impl Write,
|
||||
message: Option<String>,
|
||||
segments: Vec<VariantSegment>,
|
||||
variant_data: VariantData,
|
||||
) -> Result<()> {
|
||||
let segments = variant_data.segments().await?;
|
||||
let total_segments = segments.len();
|
||||
|
||||
let client = Arc::new(ctx.client.clone());
|
||||
let client = Arc::new(variant_data.download_client());
|
||||
let count = Arc::new(Mutex::new(0));
|
||||
let amount = Arc::new(Mutex::new(0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue