Skip to content

Commit

Permalink
Update to 0.12.2.
Browse files Browse the repository at this point in the history
Bump lightningcss version from 1.0.0-alpha51 to -alpha54 as there was a
breaking change (extra enum variants).
  • Loading branch information
jugglerchris committed Feb 23, 2024
1 parent 9579752 commit 4b04adb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Possible log types:
- `[fixed]` for any bug fixes.
- `[security]` to invite users to upgrade in case of vulnerabilities.

### 0.12.2

- [changed] Bump version of lightningcss dependency to fix build failures.

### 0.12.1

- [fixed] Fix a case where Err(TooNarrow) was returned unnecessarily. (thanks sftse)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "html2text"
version = "0.12.1"
version = "0.12.2"
authors = ["Chris Emerson <[email protected]>"]
description = "Render HTML as plain text."
repository = "https://github.com/jugglerchris/rust-html2text/"
Expand All @@ -20,7 +20,7 @@ tendril = "0.4"
unicode-width = "0.1.5"
backtrace = { version = "0.3", optional=true }
thiserror = "1.0.50"
lightningcss = { version = "1.0.0-alpha.51", optional=true }
lightningcss = { version = "1.0.0-alpha.54", optional=true }
# Keep dashmap back; 5.5 has a higher MSRV.
dashmap = "~5.4"
log = { version = "0.4.20", optional = true }
Expand Down
2 changes: 2 additions & 0 deletions src/css.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ fn is_transparent(color: &CssColor) -> bool {
CssColor::LAB(_) => false,
CssColor::Predefined(_) => false,
CssColor::Float(_) => false,
CssColor::LightDark(_, _) => false,
CssColor::System(_) => false,
}
}

Expand Down

0 comments on commit 4b04adb

Please sign in to comment.