chore: cov settings, and fix serveral building warnings (#281)

* chore: cov settings, update Python test dependencies and adjust command arguments

* fix: remove .vscode dir
This commit is contained in:
4t145 2025-06-25 14:30:45 +08:00 • committed by GitHub
commit 55215b6170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,8 @@ impl<R: SseStreamReconnect> SseAutoReconnectStream<R> {
}
impl<E: std::error::Error + Send> SseAutoReconnectStream<NeverReconnect<E>> {
pub fn never_reconnect(stream: BoxedSseResponse, error_when_reconnect: E) -> Self {
#[allow(dead_code)]
pub(crate) fn never_reconnect(stream: BoxedSseResponse, error_when_reconnect: E) -> Self {
Self {
retry_policy: Arc::new(NeverRetry),
last_event_id: None,