From 0c91b78fec950ea26fb5f297cb467c66197c4ea0 Mon Sep 17 00:00:00 2001 From: Nik Date: Thu, 4 Apr 2024 10:29:26 +0300 Subject: [PATCH] Cargo.toml: update dependencies --- Cargo.toml | 12 ++++++------ tests/pseudo-class.rs | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2be05cf..ed255fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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"] \ No newline at end of file diff --git a/tests/pseudo-class.rs b/tests/pseudo-class.rs index 4e38d35..9a5d56c 100644 --- a/tests/pseudo-class.rs +++ b/tests/pseudo-class.rs @@ -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");