From 12405ec0bd1adbee0bfa98c868162f3a28fae357 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 06:20:06 +0000 Subject: [PATCH 1/8] Bump indexmap from 2.2.3 to 2.2.5 Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.3 to 2.2.5. - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.3...2.2.5) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f83a3c4..8e2aa51c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.3" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" +checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" dependencies = [ "equivalent", "hashbrown", diff --git a/Cargo.toml b/Cargo.toml index 304f68d9..e4a0c5ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ html5ever = "0.26" selectors = "0.25.0" tendril = "0.4.3" ahash = "0.8" -indexmap = { version = "2.2.3", optional = true } +indexmap = { version = "2.2.5", optional = true } once_cell = "1.19" [dependencies.getopts] From b971a9d24f5f416483765c49beabb01e326b60c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 06:20:12 +0000 Subject: [PATCH 2/8] Bump ahash from 0.8.9 to 0.8.11 Bumps [ahash](https://github.com/tkaitchuck/ahash) from 0.8.9 to 0.8.11. - [Release notes](https://github.com/tkaitchuck/ahash/releases) - [Commits](https://github.com/tkaitchuck/ahash/compare/v0.8.9...v0.8.11) --- updated-dependencies: - dependency-name: ahash dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f83a3c4..5d812321 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "ahash" -version = "0.8.9" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d713b3834d76b85304d4d525563c1276e2e30dc97cc67bfb4585a4a29fc2c89f" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom", From 976e03fd5fcc997b206623fb582d14ab5b633130 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 06:53:35 +0000 Subject: [PATCH 3/8] Bump indexmap from 2.2.5 to 2.2.6 Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.2.5 to 2.2.6. - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02fb7bd1..1a8dbe86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.5" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", "hashbrown", diff --git a/Cargo.toml b/Cargo.toml index e4a0c5ed..e7076165 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ html5ever = "0.26" selectors = "0.25.0" tendril = "0.4.3" ahash = "0.8" -indexmap = { version = "2.2.5", optional = true } +indexmap = { version = "2.2.6", optional = true } once_cell = "1.19" [dependencies.getopts] From d67111f5cc0b7da6e6ff10e4549d87cf09ba3e5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 06:53:27 +0000 Subject: [PATCH 4/8] Bump html5ever from 0.26.0 to 0.27.0 Bumps [html5ever](https://github.com/servo/html5ever) from 0.26.0 to 0.27.0. - [Commits](https://github.com/servo/html5ever/compare/html5ever-v0.26.0...v0.27.0) --- updated-dependencies: - dependency-name: html5ever dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 26 ++++++++++++++++++-------- Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02fb7bd1..23905d91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,16 +153,16 @@ checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" [[package]] name = "html5ever" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7" +checksum = "c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4" dependencies = [ "log", "mac", "markup5ever", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.38", ] [[package]] @@ -211,13 +211,13 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "markup5ever" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016" +checksum = "c7940b09815a02810a42b9e1bc41c069880a87de68e9b1dcbe754a3ba3b47c20" dependencies = [ "log", - "phf 0.10.1", - "phf_codegen", + "phf 0.11.2", + "phf_codegen 0.11.2", "string_cache", "string_cache_codegen", "tendril", @@ -287,6 +287,16 @@ dependencies = [ "phf_shared 0.10.0", ] +[[package]] +name = "phf_codegen" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" +dependencies = [ + "phf_generator 0.11.2", + "phf_shared 0.11.2", +] + [[package]] name = "phf_generator" version = "0.10.0" @@ -441,7 +451,7 @@ dependencies = [ "log", "new_debug_unreachable", "phf 0.10.1", - "phf_codegen", + "phf_codegen 0.10.0", "precomputed-hash", "servo_arc", "smallvec", diff --git a/Cargo.toml b/Cargo.toml index e4a0c5ed..a8996e8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" [dependencies] cssparser = "0.31.0" ego-tree = "0.6.2" -html5ever = "0.26" +html5ever = "0.27" selectors = "0.25.0" tendril = "0.4.3" ahash = "0.8" From 28c0069c3faf22ced929ec4c71e9cacda2b1e402 Mon Sep 17 00:00:00 2001 From: Carlo Federico Vescovo Date: Wed, 15 May 2024 17:30:39 +0200 Subject: [PATCH 5/8] remove unnecessary qualification at src\html\mod.rs:117 --- src/html/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/mod.rs b/src/html/mod.rs index 5178149c..f7058164 100644 --- a/src/html/mod.rs +++ b/src/html/mod.rs @@ -114,7 +114,7 @@ impl Html { pub fn html(&self) -> String { let opts = SerializeOpts { scripting_enabled: false, // It's not clear what this does. - traversal_scope: html5ever::serialize::TraversalScope::IncludeNode, + traversal_scope: serialize::TraversalScope::IncludeNode, create_missing_parent: false, }; let mut buf = Vec::new(); From 45df63e31cc0d7f8c79e7d39b28a4a30dd07bf3f Mon Sep 17 00:00:00 2001 From: Noname-Official <106477298+Noname-Official@users.noreply.github.com> Date: Sat, 6 Jul 2024 14:56:47 +0200 Subject: [PATCH 6/8] Select is not a fused iterator --- src/element_ref/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/element_ref/mod.rs b/src/element_ref/mod.rs index 5461041f..6df7ad73 100644 --- a/src/element_ref/mod.rs +++ b/src/element_ref/mod.rs @@ -175,8 +175,6 @@ impl<'a, 'b> Iterator for Select<'a, 'b> { } } -impl FusedIterator for Select<'_, '_> {} - /// Iterator over descendent text nodes. #[derive(Debug, Clone)] pub struct Text<'a> { From 3b8383dcc571dc59d1b5963fb4eaac056f3a1963 Mon Sep 17 00:00:00 2001 From: Noname-Official <106477298+Noname-Official@users.noreply.github.com> Date: Sat, 6 Jul 2024 15:07:51 +0200 Subject: [PATCH 7/8] Text isn't a fused iterator --- src/element_ref/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/element_ref/mod.rs b/src/element_ref/mod.rs index 6df7ad73..7357f620 100644 --- a/src/element_ref/mod.rs +++ b/src/element_ref/mod.rs @@ -1,7 +1,6 @@ //! Element references. use std::fmt; -use std::iter::FusedIterator; use std::ops::Deref; use ego_tree::iter::{Edge, Traverse}; @@ -196,8 +195,6 @@ impl<'a> Iterator for Text<'a> { } } -impl FusedIterator for Text<'_> {} - mod element; mod serializable; From e8e3cc4edbdc64c07a396804aa137a37fb4c7b74 Mon Sep 17 00:00:00 2001 From: Carlo Federico Vescovo <26970569+cfvescovo@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:48:04 +0200 Subject: [PATCH 8/8] Version 0.19.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7c54cffe..61dc1405 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -425,7 +425,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "0.19.0" +version = "0.19.1" dependencies = [ "ahash", "cssparser", diff --git a/Cargo.toml b/Cargo.toml index 42fad495..bdf64242 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scraper" -version = "0.19.0" +version = "0.19.1" edition = "2021" description = "HTML parsing and querying with CSS selectors"