diff --git a/Cargo.toml b/Cargo.toml index 75890b2..6621912 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rmqtt-storage" -version = "0.7.2" +version = "0.7.3" authors = ["rmqtt "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/src/storage_redis_cluster.rs b/src/storage_redis_cluster.rs index 84a9464..099889c 100644 --- a/src/storage_redis_cluster.rs +++ b/src/storage_redis_cluster.rs @@ -2090,9 +2090,3 @@ fn transform_by_slot(input: Vec<(u16, T)>) -> Vec> { grouped_data.into_values().collect() } - -const _: () = { - if cfg!(feature = "len") { - panic!("The `len` feature is not allowed in this file."); - } -};