Skip to content

Commit

Permalink
Bump selectors and cssparser
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Feb 22, 2025
1 parent 7919bdd commit b3cfa71
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 25 deletions.
34 changes: 14 additions & 20 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "adblock"
version = "0.9.4"
version = "0.9.5"
authors = ["Anton Lazarev <[email protected]>", "Andrius Aucinas"]
edition = "2021"

Expand Down Expand Up @@ -37,8 +37,8 @@ memchr = "2.4"
base64 = "0.13"
rmp-serde = "0.15"
lifeguard = { version = "^ 0.6.1", optional = true }
cssparser = { version = "0.28", optional = true }
selectors = { version = "0.23", optional = true }
cssparser = { version = "0.29", optional = true }
selectors = { version = "0.24", optional = true }
serde_json = "1.0"
thiserror = "1.0"

Expand Down
3 changes: 1 addition & 2 deletions src/filters/cosmetic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,7 @@ mod css_validation {
/// Default implementations for `AtRuleParser` parsing methods return false. This is
/// acceptable; at-rules should not be valid in cosmetic rules.
impl cssparser::AtRuleParser<'_> for QualifiedRuleParserImpl {
type PreludeNoBlock = ();
type PreludeBlock = ();
type Prelude = ();
/// unused; just to satisfy type checking
type AtRule = selectors::SelectorList<SelectorImpl>;
type Error = ();
Expand Down

0 comments on commit b3cfa71

Please sign in to comment.