diff --git a/kayle_innate/Cargo.lock b/kayle_innate/Cargo.lock index d8198cc..34789f6 100644 --- a/kayle_innate/Cargo.lock +++ b/kayle_innate/Cargo.lock @@ -387,7 +387,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c" dependencies = [ - "owning_ref", "scopeguard 0.3.3", ] @@ -487,25 +486,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" -[[package]] -name = "owning_ref" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff55baddef9e4ad00f88b6c743a2a8062d4c6ade126c2a528644b8e444d52ce" -dependencies = [ - "stable_deref_trait", -] - -[[package]] -name = "parking_lot" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0802bff09003b291ba756dc7e79313e51cc31667e94afbe847def490424cde5" -dependencies = [ - "lock_api 0.1.5", - "parking_lot_core 0.3.1", -] - [[package]] name = "parking_lot" version = "0.12.1" @@ -513,20 +493,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api 0.4.10", - "parking_lot_core 0.9.8", -] - -[[package]] -name = "parking_lot_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad7f7e6ebdc79edff6fdcb87a55b620174f7a989e3eb31b65231f4af57f00b8c" -dependencies = [ - "libc", - "rand 0.5.6", - "rustc_version", - "smallvec 0.6.14", - "winapi", + "parking_lot_core", ] [[package]] @@ -678,19 +645,6 @@ dependencies = [ "proc-macro2 1.0.68", ] -[[package]] -name = "rand" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9" -dependencies = [ - "cloudabi", - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "winapi", -] - [[package]] name = "rand" version = "0.6.5" @@ -875,15 +829,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver", -] - [[package]] name = "ryu" version = "1.0.15" @@ -943,21 +888,6 @@ dependencies = [ "thin-slice", ] -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" version = "1.0.188" @@ -1066,7 +996,7 @@ checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" dependencies = [ "new_debug_unreachable", "once_cell", - "parking_lot 0.12.1", + "parking_lot", "phf_shared 0.10.0", "precomputed-hash", "serde", @@ -1239,7 +1169,6 @@ dependencies = [ "lazy_static", "lock_api 0.1.5", "num-traits", - "parking_lot 0.6.4", "rayon", "rayon_croissant", "scraper_forky", diff --git a/kayle_innate/Cargo.toml b/kayle_innate/Cargo.toml index bd0ab35..d26657e 100644 --- a/kayle_innate/Cargo.toml +++ b/kayle_innate/Cargo.toml @@ -8,3 +8,8 @@ members = [ [workspace.dependencies] smallvec = "1" +selectors = "0.21.0" +cssparser = "0.25.0" +html5ever = "0.26" +ego-tree = "0.6.2" +lazy_static = "1.4" diff --git a/kayle_innate/kayle_innate/Cargo.toml b/kayle_innate/kayle_innate/Cargo.toml index 58162c1..636e549 100644 --- a/kayle_innate/kayle_innate/Cargo.toml +++ b/kayle_innate/kayle_innate/Cargo.toml @@ -19,7 +19,7 @@ wasm-bindgen = { version = "0.2.87", features = ["serde-serialize"] } console_error_panic_hook = { version = "0.1.6", optional = true } wee_alloc = { version = "0.4.5", optional = true } url = "2.4.0" -lazy_static = "1.4.0" +lazy_static = { workspace = true } case_insensitive_string = "0.1.0" scraper_forky = { version = "0.17.1", features = ["main"], default-features = false, path = "../kayle_scraper" } getrandom = { version = "0.2", features = ["js"] } @@ -27,14 +27,12 @@ taffy = { version = "0.3.13", optional = true } serde = { version = "1.0", features = ["derive"] } serde-wasm-bindgen = "0.4" js-sys = "0.3.64" -selectors = "=0.21.0" +selectors = { workspace = true } smallvec = { workspace = true } -ego-tree = "0.6.2" +ego-tree = { workspace = true } victor_tree = { version = "0.0.7", path = "../kayle_victor/victor" } markup5ever = "0.11.0" - -[dependencies.cssparser] -version = "^0.25.0" +cssparser = { workspace = true } [dev-dependencies] wasm-bindgen-test = "0.3.37" diff --git a/kayle_innate/kayle_scraper/Cargo.toml b/kayle_innate/kayle_scraper/Cargo.toml index 0132d5a..51945d8 100644 --- a/kayle_innate/kayle_scraper/Cargo.toml +++ b/kayle_innate/kayle_scraper/Cargo.toml @@ -15,10 +15,10 @@ repository = "https://github.com/causal-agent/scraper" readme = "README.md" [dependencies] -cssparser = "0.25.0" -ego-tree = "0.6.2" -html5ever = "0.26" -selectors = "0.21.0" +cssparser = { workspace = true } +ego-tree = { workspace = true } +html5ever = { workspace = true } +selectors = { workspace = true } smallvec = "0.6.14" tendril = "0.4.3" ahash = "0.8" diff --git a/kayle_innate/kayle_victor/victor/Cargo.toml b/kayle_innate/kayle_victor/victor/Cargo.toml index a482800..b206ff7 100644 --- a/kayle_innate/kayle_victor/victor/Cargo.toml +++ b/kayle_innate/kayle_victor/victor/Cargo.toml @@ -12,19 +12,18 @@ doctest = false [dependencies] atomic_refcell = "0.1" -cssparser = "0.25.0" +cssparser = { workspace = true } dtoa = "0.4" euclid = "0.19" -html5ever = "0.26" +html5ever = { workspace = true } itoa = "0.4" -lazy_static = "1.3" +lazy_static = { workspace = true } lock_api = "0.1" num-traits = "0.2" -parking_lot = "0.6" rayon = "1" rayon_croissant = "0.1.1" scraper_forky = { version = "0.17.1", features = ["main"], default-features = false, path = "../../kayle_scraper" } -selectors = "=0.21.0" +selectors = { workspace = true } smallbitvec = "2.4" smallvec = { workspace = true } victor-tree-internal-proc-macros = {path = "../proc-macros", version = "0.0.1"}