diff --git a/ping/rust/Cargo.lock b/ping/rust/Cargo.lock index a489b75df..458c7cb7a 100644 --- a/ping/rust/Cargo.lock +++ b/ping/rust/Cargo.lock @@ -1191,15 +1191,6 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b" -[[package]] -name = "ipnetwork" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f84f1612606f3753f205a4e9a2efd6fe5b4c573a6269b2cc6c3003d44a0d127" -dependencies = [ - "serde", -] - [[package]] name = "ipnetwork" version = "0.20.0" @@ -3905,7 +3896,7 @@ dependencies = [ "futures", "if-addrs", "influxdb", - "ipnetwork 0.20.0", + "ipnetwork", "log", "serde", "serde_json", @@ -3924,9 +3915,7 @@ version = "0.1.0" dependencies = [ "async-std", "env_logger", - "futures", "if-addrs", - "ipnetwork 0.19.0", "libp2p 0.44.0", "libp2p 0.45.1", "libp2p 0.46.1", @@ -3935,14 +3924,8 @@ dependencies = [ "libp2p 0.49.0", "log", "rand 0.8.5", - "serde", "serde_json", - "soketto", "testground", - "thiserror", - "tokio", - "tokio-stream", - "tokio-util", ] [[package]] diff --git a/ping/rust/Cargo.toml b/ping/rust/Cargo.toml index 350d541a7..4ed892b45 100644 --- a/ping/rust/Cargo.toml +++ b/ping/rust/Cargo.toml @@ -7,18 +7,10 @@ version = "0.1.0" async-std = {version = "1.10", features = ["attributes", "tokio1"]} env_logger = "0.9.0" if-addrs = "0.7.0" -ipnetwork = {version = "0.19.0", default-features = false, features = ["serde"]} log = "0.4" rand = "0.8" -serde = {version = "1", features = ["derive"]} serde_json = "1" -soketto = "0.7.1" testground = {git = "https://github.com/testground/sdk-rust", branch = "master", version = "0.4.0"} -thiserror = "1" -tokio = { version = "1", default-features = false, features = ["sync", "rt-multi-thread", "macros", "net"] } -tokio-stream = { version = "0.1", default-features = false, features = [] } -tokio-util = { version = "0.7", default-features = false, features = ["compat"] } -futures = "0.3.1" libp2pv0440 = {package = "libp2p", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "0.44.0", optional = true} libp2pv0450 = {package = "libp2p", default_features = false, features = [ "websocket", "mplex", "yamux", "tcp-async-io", "ping", "noise", "dns-async-std" ], version = "0.45.0", optional = true}