Skip to content

Commit 0dbdbf9

Browse files
authored
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.
1 parent 23d2e60 commit 0dbdbf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sync = []
2222
tokio = { version = "1.32.0", features = ["full"] }
2323
lazy_static = "1"
2424
async-trait = "0.1"
25-
ipnet = "2"
25+
ipnet = "2.6.0"
2626
log = "0.4"
2727
rand = "0.8"
2828
bytes = "1"

0 commit comments

Comments
 (0)