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 Nov 20, 2023
1 parent 2c37093 commit 440ccd9
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 52 deletions.
82 changes: 42 additions & 40 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions 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.1.0"
version = "3.1.1"
edition = "2021"
license = "MIT"

Expand All @@ -18,7 +18,7 @@ openssl = ["openssl-tls"]
openssl-static = ["openssl-tls-static"]

[dependencies]
tokio = { version = "1.33", features = ["macros", "rt-multi-thread", "time"], default-features = false }
tokio = { version = "1.34", features = ["macros", "rt-multi-thread", "time"], default-features = false }

native-tls-crate = { package = "native-tls", version = "0.2.11", optional = true }

Expand Down
6 changes: 3 additions & 3 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.1.0"
version = "3.1.1"
edition = "2021"
license = "MIT"

Expand All @@ -16,7 +16,7 @@ anyhow = "1.0"
async-trait = "0.1"
clap = { version = "4.4", features = ["derive", "string"] }
chrono = "0.4"
crunchyroll-rs = { version = "0.6.3", features = ["dash-stream"] }
crunchyroll-rs = { version = "0.7.0", features = ["dash-stream"] }
ctrlc = "3.4"
dialoguer = { version = "0.11", default-features = false }
dirs = "5.0"
Expand All @@ -34,7 +34,7 @@ serde_plain = "1.0"
shlex = "1.2"
sys-locale = "0.3"
tempfile = "3.8"
tokio = { version = "1.33", features = ["macros", "rt-multi-thread", "time"] }
tokio = { version = "1.34", features = ["macros", "rt-multi-thread", "time"] }
rustls-native-certs = { version = "0.6", optional = true }

[build-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions crunchy-cli-core/src/archive/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Filter for ArchiveFilter {
"Season {} is only available with {} audio until episode {} ({})",
season.season_number,
season_locale.unwrap_or(Locale::ja_JP),
last_episode.episode_number,
last_episode.sequence_number,
last_episode.title
)
}
Expand Down Expand Up @@ -278,7 +278,7 @@ impl Filter for ArchiveFilter {
if !missing_audio.is_empty() {
warn!(
"Episode {} is not available with {} audio",
episode.episode_number,
episode.sequence_number,
missing_audio
.into_iter()
.map(|l| l.to_string())
Expand All @@ -298,7 +298,7 @@ impl Filter for ArchiveFilter {
{
warn!(
"Episode {} is not available with {} subtitles",
episode.episode_number,
episode.sequence_number,
missing_subtitles
.into_iter()
.map(|l| l.to_string())
Expand Down Expand Up @@ -343,7 +343,7 @@ impl Filter for ArchiveFilter {
if relative_episode_number.is_none() || relative_sequence_number.is_none() {
warn!(
"Failed to get relative episode number for episode {} ({}) of {} season {}",
episode.episode_number,
episode.sequence_number,
episode.title,
episode.series_title,
episode.season_number,
Expand Down
4 changes: 2 additions & 2 deletions crunchy-cli-core/src/download/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl Filter for DownloadFilter {
{
let error_message = format!(
"Episode {} ({}) of {} season {} is not available with {} audio",
episode.episode_number,
episode.sequence_number,
episode.title,
episode.series_title,
episode.season_number,
Expand Down Expand Up @@ -234,7 +234,7 @@ impl Filter for DownloadFilter {
if relative_episode_number.is_none() || relative_sequence_number.is_none() {
warn!(
"Failed to get relative episode number for episode {} ({}) of {} season {}",
episode.episode_number,
episode.sequence_number,
episode.title,
episode.series_title,
episode.season_number,
Expand Down
2 changes: 1 addition & 1 deletion crunchy-cli-core/src/search/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl From<&Episode> for FormatEpisode {
title: value.title.clone(),
description: value.description.clone(),
locale: value.audio_locale.clone(),
number: value.episode_number,
number: value.episode_number.unwrap_or_default(),
sequence_number: value.sequence_number,
duration: value.duration.num_milliseconds(),
air_date: value.episode_air_date.timestamp(),
Expand Down

0 comments on commit 440ccd9

Please sign in to comment.