Skip to content

Commit

Permalink
fix understated ipnet version requirement (#521)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
scottlamb authored Dec 30, 2023
1 parent 23d2e60 commit 0dbdbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0dbdbf9

Please sign in to comment.