mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Update dependencies and version
This commit is contained in:
parent
177ceb1920
commit
74aaed4e7a
4 changed files with 19 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "crunchy-cli-core"
|
||||
authors = ["Crunchy Labs Maintainers"]
|
||||
version = "3.5.1"
|
||||
version = "3.5.2"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ anyhow = "1.0"
|
|||
async-speed-limit = "0.4"
|
||||
clap = { version = "4.5", features = ["derive", "string"] }
|
||||
chrono = "0.4"
|
||||
crunchyroll-rs = { version = "0.10.8", features = ["experimental-stabilizations", "tower"] }
|
||||
crunchyroll-rs = { version = "0.11.0", features = ["experimental-stabilizations", "tower"] }
|
||||
ctrlc = "3.4"
|
||||
dialoguer = { version = "0.11", default-features = false }
|
||||
dirs = "5.0"
|
||||
|
|
|
|||
|
|
@ -960,8 +960,7 @@ impl Downloader {
|
|||
let tempfile = tempfile(".ass")?;
|
||||
let (mut file, path) = tempfile.into_parts();
|
||||
|
||||
let mut buf = vec![];
|
||||
subtitle.write_to(&mut buf).await?;
|
||||
let mut buf = subtitle.data().await?;
|
||||
fix_subtitles(&mut buf, max_length);
|
||||
|
||||
file.write_all(buf.as_slice())?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue