mirror of
https://github.com/MaarifaMaarifa/series-troxide.git
synced 2025-12-05 23:40:12 +00:00
Bump html2text from 0.12.5 to 0.13.6 (#383)
* Bump html2text from 0.12.5 to 0.13.6 Bumps [html2text](https://github.com/jugglerchris/rust-html2text) from 0.12.5 to 0.13.6. - [Changelog](https://github.com/jugglerchris/rust-html2text/blob/main/CHANGELOG.md) - [Commits](https://github.com/jugglerchris/rust-html2text/compare/0.12.5...0.13.6) --- updated-dependencies: - dependency-name: html2text dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fixed compilation error --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maarifa Maarifa <maarifamaarifa20@gmail.com>
This commit is contained in:
27
Cargo.lock
generated
27
Cargo.lock
generated
@@ -804,7 +804,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
|
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"termcolor",
|
"termcolor",
|
||||||
"unicode-width",
|
"unicode-width 0.1.13",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -1945,22 +1945,23 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "html2text"
|
name = "html2text"
|
||||||
version = "0.12.5"
|
version = "0.13.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8c66ee488a63a92237d5b48875b7e05bb293be8fb2894641c8118b60c08ab5ef"
|
checksum = "1bf7722c2ffdd62628b6e13065b6ab6cf154a236bd476c6e89af1352d745b83e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"html5ever",
|
"html5ever",
|
||||||
"markup5ever",
|
"markup5ever",
|
||||||
|
"nom",
|
||||||
"tendril",
|
"tendril",
|
||||||
"thiserror 1.0.69",
|
"thiserror 2.0.9",
|
||||||
"unicode-width",
|
"unicode-width 0.2.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "html5ever"
|
name = "html5ever"
|
||||||
version = "0.27.0"
|
version = "0.29.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4"
|
checksum = "2e15626aaf9c351bc696217cbe29cb9b5e86c43f8a46b5e2f5c6c5cf7cb904ce"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"mac",
|
"mac",
|
||||||
@@ -2833,9 +2834,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "markup5ever"
|
name = "markup5ever"
|
||||||
version = "0.12.1"
|
version = "0.14.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45"
|
checksum = "82c88c6129bd24319e62a0359cb6b958fa7e8be6e19bb1663bc396b90883aca5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"phf",
|
"phf",
|
||||||
@@ -3844,7 +3845,7 @@ dependencies = [
|
|||||||
"is-terminal",
|
"is-terminal",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"term",
|
"term",
|
||||||
"unicode-width",
|
"unicode-width 0.1.13",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -5419,6 +5420,12 @@ version = "0.1.13"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
|
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "unicode-width"
|
||||||
|
version = "0.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-xid"
|
name = "unicode-xid"
|
||||||
version = "0.2.4"
|
version = "0.2.4"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ lazy_static = "1.5.0"
|
|||||||
sha2 = "0.10.8"
|
sha2 = "0.10.8"
|
||||||
notify-rust = "4.11.3"
|
notify-rust = "4.11.3"
|
||||||
chrono = { version = "0.4.38", features = ["serde"] }
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||||||
html2text = "0.12.5"
|
html2text = "0.13.6"
|
||||||
bytes = "1.8.0"
|
bytes = "1.8.0"
|
||||||
rfd = "0.15.1"
|
rfd = "0.15.1"
|
||||||
image = "0.25.5"
|
image = "0.25.5"
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ pub fn ended_widget<'b>(
|
|||||||
|
|
||||||
pub fn summary_widget(series_info: &SeriesMainInformation) -> iced::Element<'_, Message> {
|
pub fn summary_widget(series_info: &SeriesMainInformation) -> iced::Element<'_, Message> {
|
||||||
if let Some(summary) = &series_info.summary {
|
if let Some(summary) = &series_info.summary {
|
||||||
let summary = html2text::from_read(summary.as_bytes(), 1000);
|
let summary = html2text::from_read(summary.as_bytes(), 1000).unwrap_or_default();
|
||||||
text(summary).size(11).width(880).into()
|
text(summary).size(11).width(880).into()
|
||||||
} else {
|
} else {
|
||||||
text("").into()
|
text("").into()
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ pub mod episode_widget {
|
|||||||
|
|
||||||
fn summary_widget(episode_information: &EpisodeInfo) -> Text<'static> {
|
fn summary_widget(episode_information: &EpisodeInfo) -> Text<'static> {
|
||||||
if let Some(summary) = &episode_information.summary {
|
if let Some(summary) = &episode_information.summary {
|
||||||
let summary = html2text::from_read(summary.as_bytes(), 1000);
|
let summary = html2text::from_read(summary.as_bytes(), 1000).unwrap_or_default();
|
||||||
text(summary).size(11)
|
text(summary).size(11)
|
||||||
} else {
|
} else {
|
||||||
text("")
|
text("")
|
||||||
|
|||||||
Reference in New Issue
Block a user