Skip to content

Commit

Permalink
Cargo.toml: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
niklak committed Apr 4, 2024
1 parent d3a6394 commit 0c91b78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dom_query"
version = "0.3.4"
version = "0.3.5"
description = "HTML manipulation with CSS seletors"
license = "MIT"
repository = "https://github.com/niklak/dom_query"
Expand All @@ -13,20 +13,20 @@ readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
html5ever = "0.26.0"
html5ever = "0.27.0"
selectors = "0.25.0"
cssparser = "0.31.2"
tendril = "0.4.2"
markup5ever = "0.11.0"
tendril = "0.4.3"
markup5ever = "0.12.0"
rustc-hash = "1.1.0"
hashbrown = {version = "0.14.3", default-features = false, features = ["allocator-api2", "inline-more"], optional = true}

[dev-dependencies]
regex = "1.10.2"
regex = "1.10.4"
lazy_static = "1.4.0"
readability = {version = "0.3.0", default-features = false}
url = "2.5.0"
ureq = "2.9.1"
ureq = "2.9.6"

[features]
hashbrown = ["dep:hashbrown"]
2 changes: 0 additions & 2 deletions tests/pseudo-class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ fn pseudo_class_not() {
let document = Document::from(html);
let sel = r#"div a.link:not(.first-link)"#;
let span = document.select(sel).first();
// And `:contains` will match the last `a` element,
// because it searches in the merged text of the element and its descendants.
let text: &str = &span.text();

assert_eq!(text, "Two");
Expand Down

0 comments on commit 0c91b78

Please sign in to comment.