Skip to content

Commit

Permalink
chore(autonat): move example to examples/
Browse files Browse the repository at this point in the history
Related: libp2p#3111.

Pull-Request: libp2p#3662.
  • Loading branch information
thomaseizinger authored Mar 23, 2023
1 parent 4bf17e9 commit 27e2cb0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 288 deletions.
14 changes: 0 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ quick-protobuf = "0.8"

[dev-dependencies]
async-std = { version = "1.10", features = ["attributes"] }
clap = { version = "4.1.11", features = ["derive"] }
env_logger = "0.10"
libp2p-identify = { path = "../identify" }
libp2p-noise = { path = "../../transports/noise" }
libp2p-swarm = { path = "../../swarm", features = ["async-std", "macros"] }
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
libp2p-yamux = { path = "../../muxers/yamux" }
libp2p-swarm-test = { path = "../../swarm-test" }

# Passing arguments to the docsrs builder in order to properly document cfg's.
Expand All @@ -40,11 +34,3 @@ libp2p-swarm-test = { path = "../../swarm-test" }
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]

[[example]]
name = "client"
path = "examples/autonat_client.rs"

[[example]]
name = "server"
path = "examples/autonat_server.rs"
147 changes: 0 additions & 147 deletions examples/autonat_client.rs

This file was deleted.

127 changes: 0 additions & 127 deletions examples/autonat_server.rs

This file was deleted.

0 comments on commit 27e2cb0

Please sign in to comment.