diff --git a/Cargo.lock b/Cargo.lock index 9a772c6a..dabb459d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,9 +93,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.93" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" +checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" dependencies = [ "backtrace", ] @@ -866,9 +866,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.5" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0" dependencies = [ "anstream", "anstyle", @@ -1260,9 +1260,9 @@ dependencies = [ [[package]] name = "hickory-resolver" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28757f23aa75c98f254cf0405e6d8c25b831b32921b050a66692427679b1f243" +checksum = "0a2e2aba9c389ce5267d31cf1e4dace82390ae276b0b364ea55630b1fa1b44b4" dependencies = [ "cfg-if", "futures-util", @@ -1281,9 +1281,9 @@ dependencies = [ [[package]] name = "hickory-server" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be0e43c556b9b3fdb6c7c71a9a32153a2275d02419e3de809e520bfcfe40c37" +checksum = "35e6d1c2df0614595224b32479c72dd6fc82c9bda85962907c45fdb95a691489" dependencies = [ "async-trait", "bytes", @@ -2118,9 +2118,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" +checksum = "2c0fef6c4230e4ccf618a35c59d7ede15dea37de8427500f50aff708806e42ec" dependencies = [ "bytes", "prost-derive", @@ -2128,9 +2128,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" +checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", "itertools", @@ -2459,9 +2459,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "security-framework" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1415a607e92bec364ea2cf9264646dcce0f91e6d65281bd6f2819cca3bf39c8" +checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" dependencies = [ "bitflags 2.6.0", "core-foundation", @@ -2472,9 +2472,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.12.0" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" +checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" dependencies = [ "core-foundation-sys", "libc", @@ -2641,9 +2641,9 @@ checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" [[package]] name = "sysinfo" -version = "0.33.0" +version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "948512566b1895f93b1592c7574baeb2de842f224f2aab158799ecadb8ebbb46" +checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" dependencies = [ "core-foundation-sys", "libc", @@ -2792,9 +2792,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.41.1" +version = "1.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33" +checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" dependencies = [ "backtrace", "bytes", @@ -2832,9 +2832,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.12" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" +checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" dependencies = [ "bytes", "futures-core", @@ -2969,9 +2969,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tun" -version = "0.7.5" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3f82bccbec181c56278683da7d915cf875a6cf8a450b3bcf1367de222775e" +checksum = "5b5ea2466ffcdd0be0831f7d3981daa0b953586c0062f6d33398cb374689b090" dependencies = [ "bytes", "cfg-if", @@ -3458,6 +3458,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "winreg2" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e25225e44ce2ac6b72befed6416b0857cf8663f9963dba572c39473062f0e625" +dependencies = [ + "cfg-if", + "windows-sys 0.59.0", +] + [[package]] name = "winres" version = "0.1.12" @@ -3469,17 +3479,18 @@ dependencies = [ [[package]] name = "wintun-bindings" -version = "0.7.16" +version = "0.7.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74675b7fccee92389d38c3d120445864d1085c421ee91c7ed05d66fb9bb76050" +checksum = "8e35d3911efde5ee25586385204127ff6a3f251477dcdd3b222775aaa4d95977" dependencies = [ "blocking", "c2rust-bitfields", "futures", "libloading", "log", - "thiserror 1.0.61", + "thiserror 2.0.3", "windows-sys 0.59.0", + "winreg2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 12379734..b7d0c2f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,24 +32,24 @@ rust-version.workspace = true publish.workspace = true [dependencies] -anyhow = { version = "1.0.93", features = ["backtrace"] } +anyhow = { version = "1.0.95", features = ["backtrace"] } log = "0.4.22" once_cell = "1" pretty-hex = "0.4.1" rand_core = { version = "0.6.4", features = ["getrandom"] } smoltcp = "0.11" -tokio = { version = "1.41.1", features = ["macros", "net", "rt-multi-thread", "sync", "time", "io-util", "process"] } +tokio = { version = "1.42.0", features = ["macros", "net", "rt-multi-thread", "sync", "time", "io-util", "process"] } boringtun = { version = "0.6", default-features = false } x25519-dalek = "2.0.0" console-subscriber = { version = "0.4.1", optional = true } image = { version = "0.25.5", default-features = false, features = ["png", "tiff"] } -prost = "0.13.3" -tokio-util = { version = "0.7.12", features = ["codec"] } +prost = "0.13.4" +tokio-util = { version = "0.7.13", features = ["codec"] } futures-util = { version = "0.3.31", features = ["sink"] } lru_time_cache = "0.11.11" internet-packet = { version = "0.2.2", features = ["smoltcp"] } data-encoding = "2.4.0" -hickory-resolver = "0.24.1" +hickory-resolver = "0.24.2" socket2 = "0.5.8" [patch.crates-io] @@ -74,23 +74,23 @@ features = [ ] [target.'cfg(target_os = "macos")'.dependencies] -security-framework = "3.0.1" +security-framework = "3.1.0" nix = { version = "0.29.0", default-features = false, features = ["fs"] } core-graphics = "0.24" core-foundation = "0.10" cocoa = "0.26" objc = "0.2" -sysinfo = "0.33.0" +sysinfo = "0.33.1" [target.'cfg(target_os = "linux")'.dependencies] -tun = { version = "0.7.5", features = ["async"] } -sysinfo = "0.33.0" +tun = { version = "0.7.10", features = ["async"] } +sysinfo = "0.33.1" [dev-dependencies] env_logger = "0.11" rand = "0.8" criterion = "0.5.1" -hickory-server = "0.24.1" +hickory-server = "0.24.2" [[bench]] diff --git a/mitmproxy-macos/certificate-truster/Cargo.toml b/mitmproxy-macos/certificate-truster/Cargo.toml index 1695178d..d406eccb 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.0.1" +security-framework = "3.1.0" diff --git a/mitmproxy-rs/Cargo.toml b/mitmproxy-rs/Cargo.toml index 080860c8..f18b0c0b 100644 --- a/mitmproxy-rs/Cargo.toml +++ b/mitmproxy-rs/Cargo.toml @@ -17,7 +17,7 @@ crate-type = ["lib", "cdylib"] [dependencies] mitmproxy = { path = "../" } -anyhow = { version = "1.0.93", features = ["backtrace"] } +anyhow = { version = "1.0.95", features = ["backtrace"] } data-encoding = "2.6.0" log = "0.4.22" once_cell = "1" @@ -25,7 +25,7 @@ pyo3 = { version = "0.21", features = ["abi3", "abi3-py310", "anyhow", "experime pyo3-asyncio-0-21 = { version = "0.21", features = ["tokio-runtime", "testing", "attributes"] } pyo3-log = "0.11.0" rand_core = { version = "0.6.4", features = ["getrandom"] } -tokio = { version = "1.41", features = ["macros", "net", "rt-multi-thread", "sync"] } +tokio = { version = "1.42", features = ["macros", "net", "rt-multi-thread", "sync"] } boringtun = "0.6" tar = "0.4.43" console-subscriber = { version = "0.4.1", optional = true } diff --git a/mitmproxy-windows/redirector/Cargo.toml b/mitmproxy-windows/redirector/Cargo.toml index ee84c796..c1ed4630 100644 --- a/mitmproxy-windows/redirector/Cargo.toml +++ b/mitmproxy-windows/redirector/Cargo.toml @@ -15,13 +15,13 @@ workspace = true [target.'cfg(windows)'.dependencies] mitmproxy = { path = "../../" } -tokio = { version = "1.41", features = ["macros", "net", "rt-multi-thread", "sync", "io-util"] } -anyhow = { version = "1.0.93", features = ["backtrace"] } +tokio = { version = "1.42", features = ["macros", "net", "rt-multi-thread", "sync", "io-util"] } +anyhow = { version = "1.0.95", features = ["backtrace"] } windivert = "0.6.0" lru_time_cache = "0.11.11" log = "0.4.22" -env_logger = "0.11.5" -prost = "0.13.3" +env_logger = "0.11.6" +prost = "0.13.4" internet-packet = { version = "0.2.2", features = ["checksums"] } [target.'cfg(windows)'.dev-dependencies] diff --git a/wireguard-test-client/Cargo.toml b/wireguard-test-client/Cargo.toml index 2e8a5787..2bc131f1 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.93" +anyhow = "1.0.95" data-encoding = "2.6.0" boringtun = "0.6" hex = "0.4"