From 0dbdbf96a368689f9e4bcec69fb8d9b2c8599b28 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Fri, 29 Dec 2023 17:31:50 -0800 Subject: [PATCH] fix understated `ipnet` version requirement (#521) `webrtc-util` uses `IpNet::with_netmask`, which was introduced in version 2.6.0. If someone is using a `Cargo.lock` with an older version of `ipnet`, they'll get a compile error when introducing `webrtc-util` (or upgrading it to after this call was added). Adding the correct version requirement in `Cargo.toml` forces the upgrade to fix this. --- util/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Cargo.toml b/util/Cargo.toml index b6bcd87c0..5054363c3 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -22,7 +22,7 @@ sync = [] tokio = { version = "1.32.0", features = ["full"] } lazy_static = "1" async-trait = "0.1" -ipnet = "2" +ipnet = "2.6.0" log = "0.4" rand = "0.8" bytes = "1"