diff --git a/Cargo.lock b/Cargo.lock index a5303a20..29155eb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -100,9 +100,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.99" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -2041,9 +2041,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.175" +version = "0.2.176" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" +checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" [[package]] name = "libloading" @@ -3078,13 +3078,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.2" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" +checksum = "8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.11", "regex-syntax 0.8.5", ] @@ -3099,9 +3099,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad" dependencies = [ "aho-corasick", "memchr", @@ -3241,9 +3241,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "security-framework" -version = "3.4.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b369d18893388b345804dc0007963c99b7d665ae71d275812d828c6f089640" +checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" dependencies = [ "bitflags 2.9.0", "core-foundation", @@ -3273,18 +3273,28 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", @@ -3500,9 +3510,9 @@ checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" [[package]] name = "tempfile" -version = "3.21.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15b61f8f20e3a6f7e0649d825294eaf317edce30f82cf6026e7e4cb9222a7d1e" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", "getrandom 0.3.2", @@ -3832,9 +3842,9 @@ dependencies = [ [[package]] name = "tree-sitter" -version = "0.25.9" +version = "0.25.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccd2a058a86cfece0bf96f7cce1021efef9c8ed0e892ab74639173e5ed7a34fa" +checksum = "78f873475d258561b06f1c595d93308a7ed124d9977cb26b148c2084a4a3cc87" dependencies = [ "cc", "regex", @@ -3846,9 +3856,9 @@ dependencies = [ [[package]] name = "tree-sitter-css" -version = "0.23.2" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad6489794d41350d12a7fbe520e5199f688618f43aace5443980d1ddcf1b29e" +checksum = "a5cbc5e18f29a2c6d6435891f42569525cf95435a3e01c2f1947abcde178686f" dependencies = [ "cc", "tree-sitter-language", @@ -3856,9 +3866,9 @@ dependencies = [ [[package]] name = "tree-sitter-highlight" -version = "0.25.9" +version = "0.25.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89fa29ef0aa9595898934922482181db525a45657ab5bb7d1127ffde1682826" +checksum = "adc5f880ad8d8f94e88cb81c3557024cf1a8b75e3b504c50481ed4f5a6006ff3" dependencies = [ "regex", "streaming-iterator", diff --git a/mitmproxy-contentviews/Cargo.toml b/mitmproxy-contentviews/Cargo.toml index bb63b1d8..6d27ed1a 100644 --- a/mitmproxy-contentviews/Cargo.toml +++ b/mitmproxy-contentviews/Cargo.toml @@ -12,7 +12,7 @@ publish.workspace = true workspace = true [dependencies] -anyhow = { version = "1.0.99", features = ["backtrace"] } +anyhow = { version = "1.0.100", features = ["backtrace"] } log = "0.4.28" data-encoding = "2.8.0" pretty-hex = "0.4.1" @@ -21,7 +21,7 @@ serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.9" rmp-serde = "1.1" protobuf = "3.7.2" -regex = "1.11.2" +regex = "1.11.3" flate2 = "1.1" protobuf-parse = "3.7" diff --git a/mitmproxy-highlight/Cargo.toml b/mitmproxy-highlight/Cargo.toml index ed330416..ca33c2e8 100644 --- a/mitmproxy-highlight/Cargo.toml +++ b/mitmproxy-highlight/Cargo.toml @@ -12,10 +12,10 @@ publish.workspace = true workspace = true [dependencies] -anyhow = { version = "1.0.99", features = ["backtrace"] } -tree-sitter = "0.25.9" -tree-sitter-css = "0.23.2" -tree-sitter-highlight = "0.25.9" +anyhow = { version = "1.0.100", features = ["backtrace"] } +tree-sitter = "0.25.10" +tree-sitter-css = "0.25.0" +tree-sitter-highlight = "0.25.10" tree-sitter-javascript = "0.25.0" tree-sitter-xml = "0.7.0" tree-sitter-yaml = "0.7.1" diff --git a/mitmproxy-linux/Cargo.toml b/mitmproxy-linux/Cargo.toml index 74adda42..c36b201a 100644 --- a/mitmproxy-linux/Cargo.toml +++ b/mitmproxy-linux/Cargo.toml @@ -22,16 +22,16 @@ tun = { workspace = true, features = ["async"] } aya = { workspace = true } aya-log = { workspace = true } tokio = { version = "1.47", features = ["macros", "net", "rt-multi-thread", "sync", "io-util", "signal"] } -anyhow = { version = "1.0.99", features = ["backtrace"] } +anyhow = { version = "1.0.100", features = ["backtrace"] } log = "0.4.28" env_logger = "0.11.5" prost = "0.14.1" internet-packet = { version = "0.2.0", features = ["checksums"] } -libc = "0.2.175" +libc = "0.2.176" const-sha1 = "0.3.0" [target.'cfg(target_os = "linux")'.build-dependencies] -anyhow = { version = "1.0.99", features = ["backtrace"] } +anyhow = { version = "1.0.100", features = ["backtrace"] } aya-build = "0.1.2" mitmproxy-linux-ebpf = { path = "../mitmproxy-linux-ebpf" } diff --git a/mitmproxy-macos/certificate-truster/Cargo.toml b/mitmproxy-macos/certificate-truster/Cargo.toml index 51f5b099..74816092 100644 --- a/mitmproxy-macos/certificate-truster/Cargo.toml +++ b/mitmproxy-macos/certificate-truster/Cargo.toml @@ -9,4 +9,4 @@ rust-version.workspace = true publish.workspace = true [target.'cfg(target_os = "macos")'.dependencies] -security-framework = "3.4.0" +security-framework = "3.5.1" diff --git a/mitmproxy-rs/Cargo.toml b/mitmproxy-rs/Cargo.toml index 3ea8cbb8..edb56d2a 100644 --- a/mitmproxy-rs/Cargo.toml +++ b/mitmproxy-rs/Cargo.toml @@ -19,7 +19,7 @@ crate-type = ["lib", "cdylib"] mitmproxy = { path = "../" } mitmproxy-highlight = { path = "../mitmproxy-highlight" } mitmproxy-contentviews = { path = "../mitmproxy-contentviews" } -anyhow = { version = "1.0.99", features = ["backtrace"] } +anyhow = { version = "1.0.100", features = ["backtrace"] } data-encoding = "2.8.0" log = "0.4.28" pyo3 = { version = "0.25", features = ["abi3", "abi3-py312", "anyhow"] } diff --git a/mitmproxy-windows/redirector/Cargo.toml b/mitmproxy-windows/redirector/Cargo.toml index 78769cca..dfcac1e6 100644 --- a/mitmproxy-windows/redirector/Cargo.toml +++ b/mitmproxy-windows/redirector/Cargo.toml @@ -16,7 +16,7 @@ workspace = true [target.'cfg(windows)'.dependencies] mitmproxy = { path = "../../" } tokio = { version = "1.47", features = ["macros", "net", "rt-multi-thread", "sync", "io-util"] } -anyhow = { version = "1.0.99", features = ["backtrace"] } +anyhow = { version = "1.0.100", features = ["backtrace"] } windivert = "0.6.0" lru_time_cache = "0.11.11" log = "0.4.28" diff --git a/src/network/tests.rs b/src/network/tests.rs index f6d84f3c..70b79270 100755 --- a/src/network/tests.rs +++ b/src/network/tests.rs @@ -805,7 +805,7 @@ async fn receive_icmp4_echo() -> Result<()> { let mut input_icmpv4_packet = match Icmpv4Packet::new_checked(response.payload_mut()) { Ok(p) => p, Err(e) => { - return Err(anyhow!("Invalid ICMPv4 packet emitted: {}", e.to_string())); + return Err(anyhow!("Invalid ICMPv4 packet emitted: {}", e)); } }; @@ -843,7 +843,7 @@ async fn receive_icmp6_echo() -> Result<()> { let mut input_icmpv6_packet = match Icmpv6Packet::new_checked(response.payload_mut()) { Ok(p) => p, Err(e) => { - return Err(anyhow!("Invalid ICMPv6 packet emitted: {}", e.to_string())); + return Err(anyhow!("Invalid ICMPv6 packet emitted: {}", e)); } }; diff --git a/wireguard-test-client/Cargo.toml b/wireguard-test-client/Cargo.toml index 04344595..1f34fffb 100644 --- a/wireguard-test-client/Cargo.toml +++ b/wireguard-test-client/Cargo.toml @@ -13,7 +13,7 @@ publish.workspace = true workspace = true [dependencies] -anyhow = "1.0.99" +anyhow = "1.0.100" data-encoding = "2.8.0" boringtun = "0.6" hex = "0.4"