Skip to content

Commit

Permalink
perf(scraper): remove error default nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Mar 25, 2024
1 parent 1eb3114 commit 76c7058
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 29 deletions.
51 changes: 35 additions & 16 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ members = [
smallvec = "1"
selectors = "0.22.0"
cssparser = "0.27.0"
html5ever = "0.26"
html5ever = "0.27"
ego-tree = "0.6.2"
lazy_static = "1.4"
6 changes: 3 additions & 3 deletions accessibility-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "accessibility-rs"
version = "0.0.55"
version = "0.0.56"
authors = ["The A11yWatch Project Developers", "Jeff Mendez <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -12,15 +12,15 @@ include = ["/src", "../LICENSE_MIT", "../LICENSE_APACHE", "../README.md", "local

[dependencies]
lazy_static = { workspace = true }
accessibility-scraper = { version = "0.0.7", features = ["main"], default-features = false, path = "../accessibility-scraper" }
accessibility-scraper = { version = "0.0.8", features = ["main"], default-features = false, path = "../accessibility-scraper" }
accessibility-tree = { version = "0.0.7", path = "../accessibility-tree/victor" }
getrandom = { version = "0.2", features = ["js"] }
taffy = { version = "0.4.0" }
serde = { version = "1.0", features = ["derive"] }
selectors = { workspace = true }
smallvec = { workspace = true }
ego-tree = { workspace = true }
markup5ever = "0.11.0"
markup5ever = "0.12.0"
cssparser = { workspace = true }
strum = "0.25"
strum_macros = "0.25"
Expand Down
10 changes: 3 additions & 7 deletions accessibility-scraper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
[package]
name = "accessibility-scraper"
version = "0.0.7"
version = "0.0.8"
edition = "2021"

description = "HTML parsing and querying with CSS selectors with CSS binding styles to elements."
keywords = ["html", "css", "selector", "scraping"]

authors = [
"June McEnroe <[email protected]>",
"Jeff Mendez <[email protected]>",
]
license = "ISC"

repository = "https://github.com/a11ywatch/accessibility-rs"
readme = "README.md"

[dependencies]
cssparser = { workspace = true }
ego-tree = { workspace = true }
html5ever = { workspace = true }
selectors = { workspace = true }
smallvec = "1"
smallvec = { workspace = true }
tendril = "0.4.3"
ahash = "0.8"
indexmap = { version = "2.0.0", optional = true }
Expand All @@ -31,7 +27,7 @@ version = "0.2.21"
optional = true

[features]
default = ["main", "errors"]
default = ["main"]
deterministic = ["indexmap"]
main = ["getopts"]
atomic = []
Expand Down
4 changes: 2 additions & 2 deletions accessibility-tree/victor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "accessibility-tree"
version = "0.0.7"
version = "0.0.8"
authors = ["Jeff Mendez <[email protected]"]
license = "MIT OR Apache-2.0"
description = "Accessibility tree binding CSS styles and vectors to elements. Used mainly for accessibility-rs crate."
Expand All @@ -22,7 +22,7 @@ lock_api = "0.1"
num-traits = "0.2"
rayon = "1"
rayon_croissant = "0.1.1"
accessibility-scraper = { version = "0.0.7", features = ["main"], default-features = false, path = "../../accessibility-scraper" }
accessibility-scraper = { version = "0.0.8", features = ["main"], default-features = false, path = "../../accessibility-scraper" }
selectors = { workspace = true }
smallbitvec = "2.4"
smallvec = { workspace = true }
Expand Down

0 comments on commit 76c7058

Please sign in to comment.