fix: enable legacy filter (#78)

This commit is contained in:
richΛrd 2023-10-04 08:45:49 -04:00 committed by GitHub
parent e61732a8c7
commit 190e1f6b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "waku-bindings"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
authors = [
"Daniel Sanchez Quiros <danielsq@status.im>"

View File

@ -52,6 +52,7 @@ pub struct WakuNodeConfig {
pub min_peers_to_publish: Option<usize>,
/// Enable filter protocol. Default `false`
#[default(Some(false))]
#[serde(rename = "legacyFilter")]
pub filter: Option<bool>,
/// Set the log level. Default `INFO`. Allowed values "DEBUG", "INFO", "WARN", "ERROR", "DPANIC", "PANIC", "FATAL"
#[default(Some(WakuLogLevel::Info))]