Skip to content

Commit

Permalink
feat: implement chat example with manual dial
Browse files Browse the repository at this point in the history
  • Loading branch information
fbozic committed May 15, 2024
1 parent f131308 commit bc56f6a
Show file tree
Hide file tree
Showing 13 changed files with 1,258 additions and 2 deletions.
114 changes: 113 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = [".", "examples/dcutr"]
members = [".", "examples/dcutr", "examples/chat"]

[package]
name = "relay-server"
Expand Down
42 changes: 42 additions & 0 deletions examples/chat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[package]
name = "chat-example"
version = "0.1.0"
authors = ["Calimero Limited <info@calimero.network>"]
edition = "2021"
repository = "https://github.com/calimero-network/relay-server"
license = "MIT OR Apache-2.0"

[dependencies]
camino = "1.1.6"
clap = { version = "4.5.4", features = ["derive", "env"] }
eyre = "0.6.12"
libp2p = { version = "0.53.2", features = [
"cbor",
"dcutr",
"dns",
"gossipsub",
"identify",
"macros",
"noise",
"ping",
"quic",
"relay",
"request-response",
"tokio",
"tcp",
"tls",
"yamux",
] }
multiaddr = "0.18.1"
owo-colors = "4.0.0"
serde = "1.0.196"
serde_json = "1.0.113"
tokio = { version = "1.35.1", features = [
"io-std",
"macros",
"rt",
"rt-multi-thread",
] }
toml = "0.8.9"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
Loading

0 comments on commit bc56f6a

Please sign in to comment.