Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions protocols/gossipsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 0.49.0
- Feature gate metrics related code. This changes some `Behaviour` constructor methods.
See [PR 6020](https://github.com/libp2p/rust-libp2p/pull/6020)
- Send IDONTWANT before Publishing a new message.
See [PR 6017](https://github.com/libp2p/rust-libp2p/pull/6017)

Expand Down
5 changes: 3 additions & 2 deletions protocols/gossipsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ categories = ["network-programming", "asynchronous"]

[features]
wasm-bindgen = ["getrandom/js", "futures-timer/wasm-bindgen"]
metrics = ["prometheus-client"]

[dependencies]
async-channel = "2.3.1"
Expand All @@ -24,7 +25,7 @@ fnv = "1.0.7"
futures = { workspace = true }
futures-timer = "3.0.2"
getrandom = { workspace = true }
hashlink = { workspace = true}
hashlink = { workspace = true }
hex_fmt = "0.3.0"
web-time = { workspace = true }
libp2p-core = { workspace = true }
Expand All @@ -39,7 +40,7 @@ sha2 = "0.10.8"
tracing = { workspace = true }

# Metrics dependencies
prometheus-client = { workspace = true }
prometheus-client = { workspace = true, optional = true }

[dev-dependencies]
libp2p-core = { workspace = true }
Expand Down
Loading
Loading