Skip to content

Commit 40612fb

Browse files
fix: make external_auth pub in ConnectionSettings struct (#879)
1 parent 3be7aaa commit 40612fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rumqttd/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- record client id for remote link's span
2828
- session present flag in connack
2929
- Make write method return the number of bytes written correctly everywhere
30+
- `ConnectionSettings` can be manually created
3031

3132
### Security
3233
- Implement constant-time password comparison in authentication logic

rumqttd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ pub struct ConnectionSettings {
149149
pub max_inflight_count: usize,
150150
pub auth: Option<HashMap<String, String>>,
151151
#[serde(skip)]
152-
external_auth: Option<AuthHandler>,
152+
pub external_auth: Option<AuthHandler>,
153153
#[serde(default)]
154154
pub dynamic_filters: bool,
155155
}

0 commit comments

Comments
 (0)