Skip to content

Commit

Permalink
add missing messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmy2019 committed Feb 15, 2024
1 parent 9cfe96e commit 7c98114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub async fn run_server(
server.run(shutdown_rx, update_rx).await?;
}
#[cfg(not(any(feature = "native-tls", feature = "rustls")))]
crate::helper::feature_not_compile("tls")
crate::helper::feature_neither_compile("native-tls", "rustls")
}
TransportType::Noise => {
#[cfg(feature = "noise")]
Expand All @@ -81,7 +81,7 @@ pub async fn run_server(
server.run(shutdown_rx, update_rx).await?;
}
#[cfg(not(any(feature = "websocket-native-tls", feature = "websocket-rustls")))]
crate::helper::feature_not_compile("websocket")
crate::helper::feature_neither_compile("websocket-native-tls", "websocket-rustls")
}
}

Expand Down

0 comments on commit 7c98114

Please sign in to comment.