Skip to content

Commit 52b9df0

Browse files
committed
chore: bump version, cleanup logging
1 parent dd286fe commit 52b9df0

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/chat/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "chat-example"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Calimero Limited <info@calimero.network>"]
55
edition = "2021"
66
repository = "https://github.com/calimero-network/boot-node"
@@ -10,7 +10,6 @@ license = "MIT OR Apache-2.0"
1010
clap = { version = "4.5.4", features = ["derive", "env"] }
1111
eyre = "0.6.12"
1212
libp2p = { version = "0.53.2", features = [
13-
"autonat",
1413
"dcutr",
1514
"dns",
1615
"gossipsub",

examples/chat/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ enum Mode {
5555
#[tokio::main]
5656
async fn main() -> eyre::Result<()> {
5757
tracing_subscriber::registry()
58-
// "info,chat_example=debug,{}",
58+
// "info,chat_example=debug,libp2p_mdns=warn,{}",
5959
.with(EnvFilter::builder().parse(format!(
60-
"info,chat_example=info,libp2p_mdns=warn,{}",
60+
"info,libp2p_mdns=warn,{}",
6161
std::env::var("RUST_LOG").unwrap_or_default()
6262
))?)
6363
.with(tracing_subscriber::fmt::layer())

examples/chat/src/network/events/relay.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use super::{EventHandler, EventLoop, RelayReservationState};
66

77
impl EventHandler<relay::client::Event> for EventLoop {
88
async fn handle(&mut self, event: relay::client::Event) {
9-
debug!("{}: {:?}", "relay_client".yellow(), event);
9+
debug!("{}: {:?}", "relay".yellow(), event);
1010

1111
match event {
1212
relay::client::Event::ReservationReqAccepted { relay_peer_id, .. } => {

0 commit comments

Comments
 (0)