diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 2ec4ac44958..7e5b545d6b1 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] data-encoding = "2.3.2" dns-parser = "0.8.0" futures = "0.3.13" -if-watch = "1.1.1" +if-watch = "2.0.0" lazy_static = "1.4.0" libp2p-core = { version = "0.36.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.39.0", path = "../../swarm" } diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index d4577c74252..73185ac179f 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] async-io-crate = { package = "async-io", version = "1.2.0", optional = true } futures = "0.3.8" futures-timer = "3.0" -if-watch = { version = "1.1.1", optional = true } +if-watch = { version = "2.0.0", optional = true } if-addrs = { version = "0.7.0", optional = true } ipnet = "2.0.0" libc = "0.2.80"