Skip to content

Commit 52953ec

Browse files
Apply cargo clippy fixes and update native-tls for Rust 1.93.0 (#4074)
* Suppress dead_code warnings for serde-annotated structs - InputAudioBufferCommit in dashscope adapter (protocol struct) - TeamsSendRequest fields in api-messenger (deserialized but not yet used) - CreateConversationRequest.custom_attributes in api-support (deserialized but not yet used) Co-Authored-By: unknown <> * Update native-tls 0.2.17 -> 0.2.18 for Rust 1.93.0 compatibility Co-Authored-By: unknown <> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent fee237f commit 52953ec

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/api-messenger/src/routes/messenger.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub struct SlackSendRequest {
2222
}
2323

2424
#[derive(Debug, Deserialize)]
25+
#[allow(dead_code)]
2526
pub struct TeamsSendRequest {
2627
pub team_id: String,
2728
pub channel_id: String,

crates/api-support/src/routes/chatwoot/conversation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::state::AppState;
66

77
#[derive(Debug, Deserialize, utoipa::ToSchema)]
88
#[serde(rename_all = "camelCase")]
9+
#[allow(dead_code)]
910
pub struct CreateConversationRequest {
1011
pub source_id: String,
1112
#[serde(default)]

crates/owhisper-client/src/adapter/dashscope/live.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ struct InputAudioBufferAppend {
253253
}
254254

255255
#[derive(Debug, Serialize)]
256+
#[allow(dead_code)]
256257
struct InputAudioBufferCommit {
257258
#[serde(rename = "type")]
258259
event_type: String,

0 commit comments

Comments
 (0)