Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Update dependencies and version
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Apr 24, 2024
1 parent 177ceb1 commit 74aaed4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crunchy-cli"
authors = ["Crunchy Labs Maintainers"]
version = "3.5.1"
version = "3.5.2"
edition = "2021"
license = "MIT"

Expand Down
4 changes: 2 additions & 2 deletions crunchy-cli-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions crunchy-cli-core/src/utils/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;
Expand Down

0 comments on commit 74aaed4

Please sign in to comment.