diff --git a/Cargo.lock b/Cargo.lock index 515f643716..bca178b0f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -605,7 +605,7 @@ dependencies = [ "http 1.1.0", "lychee-lib", "regex", - "reqwest 0.12.5", + "reqwest 0.12.7", "tokio", ] @@ -696,7 +696,7 @@ version = "0.1.0" dependencies = [ "async-trait", "lychee-lib", - "reqwest 0.12.5", + "reqwest 0.12.7", "tokio", ] @@ -822,7 +822,7 @@ dependencies = [ "http 1.1.0", "lychee-lib", "regex", - "reqwest 0.12.5", + "reqwest 0.12.7", "tokio", "tokio-stream", ] @@ -2289,7 +2289,7 @@ dependencies = [ "socket2 0.5.6", "widestring", "windows-sys 0.48.0", - "winreg 0.50.0", + "winreg", ] [[package]] @@ -2500,7 +2500,7 @@ dependencies = [ "predicates", "pretty_assertions", "regex", - "reqwest 0.12.5", + "reqwest 0.12.7", "reqwest_cookie_store", "ring", "secrecy", @@ -2547,7 +2547,7 @@ dependencies = [ "percent-encoding", "pulldown-cmark", "regex", - "reqwest 0.12.5", + "reqwest 0.12.7", "reqwest_cookie_store", "ring", "rstest", @@ -3542,7 +3542,7 @@ dependencies = [ "serde_json", "serde_urlencoded", "sync_wrapper 0.1.2", - "system-configuration", + "system-configuration 0.5.1", "tokio", "tokio-native-tls", "tokio-socks", @@ -3551,14 +3551,14 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "winreg 0.50.0", + "winreg", ] [[package]] name = "reqwest" -version = "0.12.5" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37" +checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63" dependencies = [ "async-compression", "base64 0.22.0", @@ -3593,7 +3593,7 @@ dependencies = [ "serde_json", "serde_urlencoded", "sync_wrapper 1.0.1", - "system-configuration", + "system-configuration 0.6.1", "tokio", "tokio-native-tls", "tokio-rustls 0.26.0", @@ -3603,7 +3603,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "winreg 0.52.0", + "windows-registry", ] [[package]] @@ -3614,7 +3614,7 @@ checksum = "a0b36498c7452f11b1833900f31fbb01fc46be20992a50269c88cf59d79f54e9" dependencies = [ "bytes", "cookie_store", - "reqwest 0.12.5", + "reqwest 0.12.7", "url", ] @@ -3875,18 +3875,18 @@ checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" [[package]] name = "serde" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", @@ -3895,9 +3895,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", "memchr", @@ -4224,6 +4224,9 @@ name = "sync_wrapper" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +dependencies = [ + "futures-core", +] [[package]] name = "system-configuration" @@ -4233,7 +4236,18 @@ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ "bitflags 1.3.2", "core-foundation", - "system-configuration-sys", + "system-configuration-sys 0.5.0", +] + +[[package]] +name = "system-configuration" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" +dependencies = [ + "bitflags 2.5.0", + "core-foundation", + "system-configuration-sys 0.6.0", ] [[package]] @@ -4246,6 +4260,16 @@ dependencies = [ "libc", ] +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tabled" version = "0.16.0" @@ -4711,18 +4735,18 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typed-builder" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06fbd5b8de54c5f7c91f6fe4cebb949be2125d7758e630bb58b1d831dbce600" +checksum = "7e14ed59dc8b7b26cacb2a92bad2e8b1f098806063898ab42a3bd121d7d45e75" dependencies = [ "typed-builder-macro", ] [[package]] name = "typed-builder-macro" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9534daa9fd3ed0bd911d462a37f172228077e7abf18c18a5f67199d959205f8" +checksum = "560b82d656506509d43abe30e0ba64c56b1953ab3d4fe7ba5902747a7a3cedd5" dependencies = [ "proc-macro2", "quote", @@ -5012,6 +5036,36 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-registry" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +dependencies = [ + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.48.0" @@ -5188,16 +5242,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "winreg" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - [[package]] name = "wiremock" version = "0.6.1" diff --git a/examples/builder/Cargo.toml b/examples/builder/Cargo.toml index 56e7c27b7c..3381ec11aa 100644 --- a/examples/builder/Cargo.toml +++ b/examples/builder/Cargo.toml @@ -12,7 +12,7 @@ lychee-lib = { path = "../../lychee-lib", default-features = false } tokio = { version = "1.39.3", features = ["full"] } regex = "1.10.6" http = "1.0.0" -reqwest = { version = "0.12.5", default-features = false, features = ["gzip"] } +reqwest = { version = "0.12.7", default-features = false, features = ["gzip"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/examples/chain/Cargo.toml b/examples/chain/Cargo.toml index 78edc551fd..de3b83c251 100644 --- a/examples/chain/Cargo.toml +++ b/examples/chain/Cargo.toml @@ -10,7 +10,7 @@ path = "chain.rs" [dependencies] async-trait = "0.1.81" lychee-lib = { path = "../../lychee-lib", default-features = false } -reqwest = "0.12.5" +reqwest = "0.12.7" tokio = { version = "1.39.3", features = ["full"] } [features] diff --git a/examples/collect_links/Cargo.toml b/examples/collect_links/Cargo.toml index 18c536fa05..6a0ea92e92 100644 --- a/examples/collect_links/Cargo.toml +++ b/examples/collect_links/Cargo.toml @@ -13,7 +13,7 @@ tokio = { version = "1.39.3", features = ["full"] } regex = "1.10.6" http = "1.0.0" tokio-stream = "0.1.15" -reqwest = { version = "0.12.5", default-features = false, features = ["gzip"] } +reqwest = { version = "0.12.7", default-features = false, features = ["gzip"] } [features] email-check = ["lychee-lib/email-check"] diff --git a/lychee-bin/Cargo.toml b/lychee-bin/Cargo.toml index f70880a5bc..0d3771f4eb 100644 --- a/lychee-bin/Cargo.toml +++ b/lychee-bin/Cargo.toml @@ -35,7 +35,7 @@ once_cell = "1.19.0" openssl-sys = { version = "0.9.103", optional = true } pad = "0.1.6" regex = "1.10.6" -reqwest = { version = "0.12.5", default-features = false, features = [ +reqwest = { version = "0.12.7", default-features = false, features = [ "gzip", "json", ] } @@ -46,8 +46,8 @@ reqwest_cookie_store = "0.8.0" # https://github.com/Homebrew/homebrew-core/pull/70216 ring = "0.17.8" secrecy = { version = "0.8.0", features = ["serde"] } -serde = { version = "1.0.208", features = ["derive"] } -serde_json = "1.0.125" +serde = { version = "1.0.209", features = ["derive"] } +serde_json = "1.0.127" strum = { version = "0.26.3", features = ["derive"] } supports-color = "3.0.0" tabled = "0.16.0" diff --git a/lychee-bin/tests/cli.rs b/lychee-bin/tests/cli.rs index 646f353d89..65aa8d2f47 100644 --- a/lychee-bin/tests/cli.rs +++ b/lychee-bin/tests/cli.rs @@ -1335,6 +1335,7 @@ mod cli { } #[test] + #[ignore = "Skipping test because it is flaky"] fn test_suggests_url_alternatives() -> Result<()> { for _ in 0..3 { // This can be flaky. Try up to 3 times diff --git a/lychee-lib/Cargo.toml b/lychee-lib/Cargo.toml index 26e2da7c52..de7346bc15 100644 --- a/lychee-lib/Cargo.toml +++ b/lychee-lib/Cargo.toml @@ -37,7 +37,7 @@ pulldown-cmark = "0.12.0" regex = "1.10.6" # Use trust-dns to avoid lookup failures on high concurrency # https://github.com/seanmonstar/reqwest/issues/296 -reqwest = { version = "0.12.5", default-features = false, features = [ +reqwest = { version = "0.12.7", default-features = false, features = [ "gzip", "trust-dns", "cookies", @@ -49,13 +49,13 @@ reqwest_cookie_store = "0.8.0" # https://github.com/Homebrew/homebrew-core/pull/70216 ring = "0.17.8" secrecy = "0.8.0" -serde = { version = "1.0.208", features = ["derive"] } +serde = { version = "1.0.209", features = ["derive"] } serde_with = "3.8.1" shellexpand = "3.1.0" thiserror = "1.0.63" tokio = { version = "1.39.3", features = ["full"] } toml = "0.8.19" -typed-builder = "0.19.1" +typed-builder = "0.20.0" url = { version = "2.5.2", features = ["serde"] } [dependencies.par-stream] @@ -66,7 +66,7 @@ features = ["runtime-tokio"] doc-comment = "0.3.3" tempfile = "3.12.0" wiremock = "0.6.1" -serde_json = "1.0.125" +serde_json = "1.0.127" rstest = "0.22.0" toml = "0.8.19"