Skip to content

Commit

Permalink
protocols/gossipsub: Remove regex-filter feature flag (#2056)
Browse files Browse the repository at this point in the history
Remove `regex-filter` feature flag thus always enabling
`regex::RegexSubscriptionFilter`.
  • Loading branch information
tzemanovic committed Apr 27, 2021
1 parent 5ee003b commit 6257a8d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

- Update individual crates.
- `libp2p-swarm-derive`
- `libp2p-gossipsub`

## Version 0.37.0 [2021-04-13]

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
5 changes: 5 additions & 0 deletions protocols/gossipsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion protocols/gossipsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion protocols/gossipsub/src/subscription_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ where
}
}

#[cfg(feature = "regex-filter")]
pub mod regex {
use super::TopicSubscriptionFilter;
use crate::TopicHash;
Expand Down

0 comments on commit 6257a8d

Please sign in to comment.