Skip to content

Commit

Permalink
chore(crate): bump [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Dec 11, 2024
1 parent b347431 commit 5ac0a1f
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.21.11"
version = "2.21.12"
authors = [
"j-mendez <[email protected]>"
]
Expand Down Expand Up @@ -32,7 +32,7 @@ tendril = "0.4.3"
ahash = { version = "0.8", default-features = false, features = ["std"] }
cssparser = "0.31.2"
smallvec = "1"
ego-tree = "0.6.2"
ego-tree = "0.10"
num_cpus = "1"
bytes = { version = "1", features = ["serde"] }
serde = { version = "1", optional = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion spider_chrome/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_chrome"
version = "2.21.11"
version = "2.21.12"
rust-version = "1.70"
authors = [
"j-mendez <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.21.11"
version = "2.21.12"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_transformations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_transformations"
version = "2.21.11"
version = "2.21.12"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.21.11"
version = "2.21.12"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
6 changes: 3 additions & 3 deletions spider_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ where
let mut map: CSSQueryMap = HashMap::new();

if !selectors.css.is_empty() {
let fragment = Html::parse_fragment(html);
let mut stream = spider::tokio_stream::iter(&selectors.css);
let fragment = Box::new(Html::parse_fragment(html));

while let Some(selector) = stream.next().await {
for s in selector.1 {
Expand All @@ -64,7 +64,7 @@ where

if !selectors.xpath.is_empty() {
if let Ok(package) = parser::parse(html) {
let document = package.as_document();
let document = Box::new(package.as_document());

for selector in selectors.xpath.iter() {
for s in selector.1 {
Expand Down Expand Up @@ -100,7 +100,7 @@ where
let mut map: CSSQueryMap = HashMap::new();

if !selectors.css.is_empty() {
let fragment = Html::parse_fragment(html);
let fragment = Box::new(Html::parse_fragment(html));

for selector in selectors.css.iter() {
for s in selector.1 {
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.21.11"
version = "2.21.12"
authors = [
"j-mendez <[email protected]>"
]
Expand Down

0 comments on commit 5ac0a1f

Please sign in to comment.