Skip to content

Commit 7d72cbb

Browse files
committed
fix: Compatibility with the new cssparser crate version
1 parent e75f5ff commit 7d72cbb

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- Compatibility with the new `cssparser` crate version.
8+
59
## [0.6.0] - 2020-11-02
610

711
### Changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ default = ["cli"]
1919
cli = ["pico-args", "rayon"]
2020

2121
[dependencies]
22-
cssparser = "0"
22+
cssparser = "0.28"
2323
kuchiki = "0.8"
2424
attohttpc = { version = "0", default-features = false, features = ["compress", "tls-rustls"] }
2525
url = "2"

python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Python 3.9 support.
88

9+
### Fixed
10+
11+
- Compatibility with the new `cssparser` crate version.
12+
913
## [0.6.0] - 2020-11-02
1014

1115
### Changed

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl<'i> cssparser::QualifiedRuleParser<'i> for CSSRuleListParser {
2929
fn parse_block<'t>(
3030
&mut self,
3131
prelude: Self::Prelude,
32-
_: cssparser::SourceLocation,
32+
_: &cssparser::ParserState,
3333
input: &mut cssparser::Parser<'i, 't>,
3434
) -> Result<Self::QualifiedRule, cssparser::ParseError<'i, Self::Error>> {
3535
// Parse list of declarations

wasm/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- Compatibility with the new `cssparser` crate version.
8+
59
## [0.6.0] - 2020-11-02
610

711
### Changed

0 commit comments

Comments
 (0)