diff --git a/Cargo.lock b/Cargo.lock index 3acf191..3567332 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -881,25 +881,22 @@ dependencies = [ [[package]] name = "criterion" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +checksum = "3bf7af66b0989381bd0be551bd7cc91912a655a58c6918420c9527b1fd8b4679" dependencies = [ "anes", "cast", "ciborium", "clap", "criterion-plot", - "is-terminal", - "itertools", + "itertools 0.13.0", "num-traits", - "once_cell", "oorandom", "plotters", "rayon", "regex", "serde", - "serde_derive", "serde_json", "tinytemplate", "walkdir", @@ -912,7 +909,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" dependencies = [ "cast", - "itertools", + "itertools 0.10.5", ] [[package]] @@ -1784,12 +1781,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" -[[package]] -name = "hermit-abi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08" - [[package]] name = "hex" version = "0.4.3" @@ -2287,17 +2278,6 @@ dependencies = [ "serde", ] -[[package]] -name = "is-terminal" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" -dependencies = [ - "hermit-abi 0.5.1", - "libc", - "windows-sys 0.59.0", -] - [[package]] name = "is_ci" version = "1.2.0" @@ -2319,6 +2299,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.15" @@ -4481,9 +4470,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.45.0" +version = "1.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" +checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" dependencies = [ "backtrace", "bytes", @@ -4859,11 +4848,13 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" +checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d" dependencies = [ "getrandom 0.3.3", + "js-sys", + "wasm-bindgen", ] [[package]] diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 76d45ec..c1700a1 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] lychee-lib = { path = "../lychee-lib", default-features = false } -criterion = "0.5.1" +criterion = "0.6.0" [features] email-check = ["lychee-lib/email-check"] diff --git a/benches/src/extract.rs b/benches/src/extract.rs index a66033e..5e7018f 100644 --- a/benches/src/extract.rs +++ b/benches/src/extract.rs @@ -1,6 +1,7 @@ -use criterion::{Criterion, black_box, criterion_group, criterion_main}; +use criterion::{Criterion, criterion_group, criterion_main}; use lychee_lib::InputContent; use lychee_lib::extract::Extractor; +use std::hint::black_box; use std::path::PathBuf; fn extract(paths: &[PathBuf]) { diff --git a/examples/builder/Cargo.toml b/examples/builder/Cargo.toml index a6e4a9b..caa3589 100644 --- a/examples/builder/Cargo.toml +++ b/examples/builder/Cargo.toml @@ -9,7 +9,7 @@ path = "builder.rs" [dependencies] lychee-lib = { path = "../../lychee-lib", default-features = false } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } regex = "1.11.1" http = "1.3.1" reqwest = { version = "0.12.15", default-features = false, features = ["gzip"] } diff --git a/examples/chain/Cargo.toml b/examples/chain/Cargo.toml index 2e7e54a..4a3ca6e 100644 --- a/examples/chain/Cargo.toml +++ b/examples/chain/Cargo.toml @@ -11,7 +11,7 @@ path = "chain.rs" async-trait = "0.1.88" lychee-lib = { path = "../../lychee-lib", default-features = false } reqwest = "0.12.15" -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/examples/client_pool/Cargo.toml b/examples/client_pool/Cargo.toml index 20fea98..c4ceaa8 100644 --- a/examples/client_pool/Cargo.toml +++ b/examples/client_pool/Cargo.toml @@ -11,7 +11,7 @@ path = "client_pool.rs" futures = "0.3.31" tokio-stream = "0.1.17" lychee-lib = { path = "../../lychee-lib", default-features = false } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/examples/collect_links/Cargo.toml b/examples/collect_links/Cargo.toml index 4b1e867..cf6461b 100644 --- a/examples/collect_links/Cargo.toml +++ b/examples/collect_links/Cargo.toml @@ -9,7 +9,7 @@ path = "collect_links.rs" [dependencies] lychee-lib = { path = "../../lychee-lib", default-features = false } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } regex = "1.11.1" http = "1.3.1" tokio-stream = "0.1.17" diff --git a/examples/extract/Cargo.toml b/examples/extract/Cargo.toml index 0b391e1..411a80f 100644 --- a/examples/extract/Cargo.toml +++ b/examples/extract/Cargo.toml @@ -9,7 +9,7 @@ path = "extract.rs" [dependencies] lychee-lib = { path = "../../lychee-lib", default-features = false } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/examples/simple/Cargo.toml b/examples/simple/Cargo.toml index a7eda1c..d8921f2 100644 --- a/examples/simple/Cargo.toml +++ b/examples/simple/Cargo.toml @@ -9,7 +9,7 @@ path = "simple.rs" [dependencies] lychee-lib = { path = "../../lychee-lib", default-features = false } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/lychee-bin/Cargo.toml b/lychee-bin/Cargo.toml index 9b28239..2b53816 100644 --- a/lychee-bin/Cargo.toml +++ b/lychee-bin/Cargo.toml @@ -53,7 +53,7 @@ serde_json = "1.0.140" strum = { version = "0.27.1", features = ["derive"] } supports-color = "3.0.2" tabled = "0.19.0" -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } tokio-stream = "0.1.17" toml = "0.8.22" url = "2.5.4" @@ -70,7 +70,7 @@ tracing-subscriber = { version = "0.3.19", default-features = false, features = "registry", "env-filter", ] } -uuid = { version = "1.16.0", features = ["v4"] } +uuid = { version = "1.17.0", features = ["v4"] } wiremock = "0.6.3" [features] diff --git a/lychee-lib/Cargo.toml b/lychee-lib/Cargo.toml index d9f6384..55abaa4 100644 --- a/lychee-lib/Cargo.toml +++ b/lychee-lib/Cargo.toml @@ -54,7 +54,7 @@ serde = { version = "1.0.219", features = ["derive"] } serde_with = "3.12.0" shellexpand = "3.1.1" thiserror = "2.0.12" -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } toml = "0.8.22" typed-builder = "0.21.0" url = { version = "2.5.4", features = ["serde"] }