Skip to content

Commit 6257a8d

Browse files
authored
protocols/gossipsub: Remove regex-filter feature flag (#2056)
Remove `regex-filter` feature flag thus always enabling `regex::RegexSubscriptionFilter`.
1 parent 5ee003b commit 6257a8d

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
- Update individual crates.
5252
- `libp2p-swarm-derive`
53+
- `libp2p-gossipsub`
5354

5455
## Version 0.37.0 [2021-04-13]
5556

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ futures = "0.3.1"
6666
lazy_static = "1.2"
6767
libp2p-core = { version = "0.28.3", path = "core", default-features = false }
6868
libp2p-floodsub = { version = "0.29.0", path = "protocols/floodsub", optional = true }
69-
libp2p-gossipsub = { version = "0.30.0", path = "./protocols/gossipsub", optional = true }
69+
libp2p-gossipsub = { version = "0.30.1", path = "./protocols/gossipsub", optional = true }
7070
libp2p-identify = { version = "0.29.0", path = "protocols/identify", optional = true }
7171
libp2p-kad = { version = "0.30.0", path = "protocols/kad", optional = true }
7272
libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true }

protocols/gossipsub/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.30.1 [2021-04-27]
2+
3+
- Remove `regex-filter` feature flag thus always enabling `regex::RegexSubscriptionFilter` [PR
4+
2056](https://github.com/libp2p/rust-libp2p/pull/2056).
5+
16
# 0.30.0 [2021-04-13]
27

38
- Update `libp2p-swarm`.

protocols/gossipsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "libp2p-gossipsub"
33
edition = "2018"
44
description = "Gossipsub protocol for libp2p"
5-
version = "0.30.0"
5+
version = "0.30.1"
66
authors = ["Age Manning <[email protected]>"]
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"

protocols/gossipsub/src/subscription_filter.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ where
200200
}
201201
}
202202

203-
#[cfg(feature = "regex-filter")]
204203
pub mod regex {
205204
use super::TopicSubscriptionFilter;
206205
use crate::TopicHash;

0 commit comments

Comments
 (0)