protocols/gossipsub: Remove regex-filter feature flag (#2056)

Remove `regex-filter` feature flag thus always enabling
`regex::RegexSubscriptionFilter`.
This commit is contained in:
Tomas Zemanovic
2021-04-27 15:00:13 +02:00
committed by GitHub
parent 5ee003b76e
commit 6257a8d402
5 changed files with 8 additions and 3 deletions

View File

@ -50,6 +50,7 @@
- Update individual crates.
- `libp2p-swarm-derive`
- `libp2p-gossipsub`
## Version 0.37.0 [2021-04-13]

View File

@ -66,7 +66,7 @@ futures = "0.3.1"
lazy_static = "1.2"
libp2p-core = { version = "0.28.3", path = "core", default-features = false }
libp2p-floodsub = { version = "0.29.0", path = "protocols/floodsub", optional = true }
libp2p-gossipsub = { version = "0.30.0", path = "./protocols/gossipsub", optional = true }
libp2p-gossipsub = { version = "0.30.1", path = "./protocols/gossipsub", optional = true }
libp2p-identify = { version = "0.29.0", path = "protocols/identify", optional = true }
libp2p-kad = { version = "0.30.0", path = "protocols/kad", optional = true }
libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true }

View File

@ -1,3 +1,8 @@
# 0.30.1 [2021-04-27]
- Remove `regex-filter` feature flag thus always enabling `regex::RegexSubscriptionFilter` [PR
2056](https://github.com/libp2p/rust-libp2p/pull/2056).
# 0.30.0 [2021-04-13]
- Update `libp2p-swarm`.

View File

@ -2,7 +2,7 @@
name = "libp2p-gossipsub"
edition = "2018"
description = "Gossipsub protocol for libp2p"
version = "0.30.0"
version = "0.30.1"
authors = ["Age Manning <Age@AgeManning.com>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"

View File

@ -200,7 +200,6 @@ where
}
}
#[cfg(feature = "regex-filter")]
pub mod regex {
use super::TopicSubscriptionFilter;
use crate::TopicHash;