Skip to content

Commit 2157052

Browse files
examples: employ consistent naming
Resolves: #4459. Pull-Request: #4533.
1 parent c97f86f commit 2157052

File tree

16 files changed

+20
-20
lines changed

16 files changed

+20
-20
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ members = [
33
"core",
44
"examples/autonat",
55
"examples/browser-webrtc",
6-
"examples/chat-example",
6+
"examples/chat",
77
"examples/dcutr",
88
"examples/distributed-key-value-store",
99
"examples/file-sharing",
1010
"examples/identify",
1111
"examples/ipfs-kad",
1212
"examples/ipfs-private",
1313
"examples/metrics",
14-
"examples/ping-example",
14+
"examples/ping",
1515
"examples/relay-server",
1616
"examples/rendezvous",
1717
"examples/upnp",

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A set of examples showcasing how to use rust-libp2p.
77

88
## Individual libp2p features
99

10-
- [Chat](./chat-example) A basic chat application demonstrating libp2p and the mDNS and Gossipsub protocols.
10+
- [Chat](./chat) A basic chat application demonstrating libp2p and the mDNS and Gossipsub protocols.
1111
- [Distributed key-value store](./distributed-key-value-store) A basic key value store demonstrating libp2p and the mDNS and Kademlia protocol.
1212

1313
- [File sharing application](./file-sharing) Basic file sharing application with peers either providing or locating and getting files by name.
@@ -20,6 +20,6 @@ A set of examples showcasing how to use rust-libp2p.
2020

2121
- [IPFS Private](./ipfs-private) Implementation using the gossipsub, ping and identify protocols to implement the ipfs private swarms feature.
2222

23-
- [Ping](./ping-example) Small `ping` clone, sending a ping to a peer, expecting a pong as a response. See [tutorial](../src/tutorials/ping.rs) for a step-by-step guide building the example.
23+
- [Ping](./ping) Small `ping` clone, sending a ping to a peer, expecting a pong as a response. See [tutorial](../src/tutorials/ping.rs) for a step-by-step guide building the example.
2424

2525
- [Rendezvous](./rendezvous) Rendezvous Protocol. See [specs](https://github.com/libp2p/specs/blob/master/rendezvous/README.md).
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/dcutr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "dcutr"
2+
name = "dcutr-example"
33
version = "0.1.0"
44
edition = "2021"
55
publish = false

examples/distributed-key-value-store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "distributed-key-value-store"
2+
name = "distributed-key-value-store-example"
33
version = "0.1.0"
44
edition = "2021"
55
publish = false

examples/file-sharing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "file-sharing"
2+
name = "file-sharing-example"
33
version = "0.1.0"
44
edition = "2021"
55
publish = false

examples/identify/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "identify"
2+
name = "identify-example"
33
version = "0.1.0"
44
edition = "2021"
55
publish = false

0 commit comments

Comments
 (0)