Skip to content

Commit 09dfdb6

Browse files
dependabot[bot]andyquinterom
authored andcommitted
chore(deps): Bump tokio-tungstenite from 0.27.0 to 0.28.0 (#267)
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite) from 0.27.0 to 0.28.0.
1 parent 4527f35 commit 09dfdb6

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ num_cpus = "1"
2828
tokio = { version = "1", features = ["full"] }
2929
tokio-stream = "0.1"
3030
tokio-util = { version = "^0.7", features = ["codec"] }
31-
tokio-tungstenite = "^0.27"
31+
tokio-tungstenite = "^0.28"
3232
base64 = "0.22"
3333
sha1 = "0.10"
3434
futures-util = "0.3"

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub enum FaucetError {
7777
#[error("Protocol violation: {0}")]
7878
ProtocolViolation(tokio_tungstenite::tungstenite::error::ProtocolError),
7979
#[error("Web Socket Write buffer full, {0}")]
80-
WSWriteBufferFull(tokio_tungstenite::tungstenite::Message),
80+
WSWriteBufferFull(Box<tokio_tungstenite::tungstenite::Message>),
8181
#[error("PostgreSQL error: {0}")]
8282
PostgreSQL(#[from] tokio_postgres::Error),
8383
#[error("WebSocket Connection in use")]

src/telemetry/mod.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
use std::{path::Path, pin::pin, str::FromStr, sync::OnceLock};
1+
use std::{path::Path, str::FromStr, sync::OnceLock};
22

33
mod pg;
44

5-
use chrono::{DateTime, Local};
5+
use chrono::Local;
66
use deadpool_postgres::{Manager, ManagerConfig, Pool, RecyclingMethod};
7-
use std::io::Write;
8-
use tokio::{
9-
sync::mpsc::{UnboundedReceiver, UnboundedSender},
10-
task::JoinHandle,
11-
};
7+
use tokio::{sync::mpsc::UnboundedSender, task::JoinHandle};
128

139
use crate::{
1410
cli::PgSslMode,
1511
error::FaucetResult,
1612
leak,
17-
server::{logging::EventLogData, HttpLogData, LogOption},
13+
server::{logging::EventLogData, HttpLogData},
1814
shutdown::ShutdownSignal,
1915
};
2016

0 commit comments

Comments
 (0)