diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-04-12 09:41:03 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-04-12 15:01:45 +0200 |
| commit | 60562b51bfaae339230b9a6bc552f8c7a65a99d7 (patch) | |
| tree | bc3a1487b636cc010d5e4a026e36c3d0aecfc98a | |
| parent | 43663fe14b25e390fea2cad36148c5609434aea8 (diff) | |
| download | mullvadvpn-60562b51bfaae339230b9a6bc552f8c7a65a99d7.tar.xz mullvadvpn-60562b51bfaae339230b9a6bc552f8c7a65a99d7.zip | |
Upgrade `pcap` to `1.3`
This fixes type checking of `pcap` functions on Windows. Without it,
type checking of the ``test-runner` crate from a Linux host to a Windows
target would not work.
| -rw-r--r-- | test/Cargo.lock | 5 | ||||
| -rw-r--r-- | test/test-manager/Cargo.toml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Cargo.lock b/test/Cargo.lock index eb38b5f37a..6d55901090 100644 --- a/test/Cargo.lock +++ b/test/Cargo.lock @@ -2123,15 +2123,16 @@ dependencies = [ [[package]] name = "pcap" -version = "0.10.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da544c8115cc65b474554569c7654fc94a4f6a167f79192536e148fd654e17a" +checksum = "99e935fc73d54a89fff576526c2ccd42bbf8247aae05b358693475b14fd4ff79" dependencies = [ "bitflags 1.3.2", "errno 0.2.8", "futures", "libc", "libloading", + "pkg-config", "regex", "tokio", "windows-sys 0.36.1", diff --git a/test/test-manager/Cargo.toml b/test/test-manager/Cargo.toml index 37cfbc5a85..fa86db329e 100644 --- a/test/test-manager/Cargo.toml +++ b/test/test-manager/Cargo.toml @@ -39,7 +39,7 @@ serde_json = { workspace = true } tokio-serde = { workspace = true } log = { workspace = true } -pcap = { version = "0.10.1", features = ["capture-stream"] } +pcap = { version = "1.3", features = ["capture-stream"] } pnet_packet = "0.31.0" test-rpc = { path = "../test-rpc" } |
