mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
build(deps): bump Rust to 1.87.0 (#9159)
This commit is contained in:
@@ -110,7 +110,7 @@ impl CallbackHandler {
|
||||
&[JValue::Int(socket)],
|
||||
)
|
||||
})
|
||||
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))
|
||||
.map_err(io::Error::other)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,8 +38,7 @@ impl<'l> tracing_subscriber::fmt::MakeWriter<'l> for MakeWriter {
|
||||
|
||||
impl io::Write for Writer<'_> {
|
||||
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
|
||||
let message =
|
||||
std::str::from_utf8(buf).map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
|
||||
let message = std::str::from_utf8(buf).map_err(io::Error::other)?;
|
||||
|
||||
self.oslog.with_level(self.level, message);
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ pub struct Worker {
|
||||
}
|
||||
|
||||
enum Inner {
|
||||
DBus(zbus::proxy::SignalStream<'static>),
|
||||
DBus(Box<zbus::proxy::SignalStream<'static>>),
|
||||
DnsPoller(Interval),
|
||||
Null,
|
||||
}
|
||||
@@ -106,7 +106,7 @@ impl Worker {
|
||||
let stream = proxy.receive_signal(member).await?;
|
||||
Ok(Self {
|
||||
just_started: true,
|
||||
inner: Inner::DBus(stream),
|
||||
inner: Inner::DBus(Box::new(stream)),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -804,7 +804,6 @@ where
|
||||
/// This heuristic might fail because we are also handling wireguard packets.
|
||||
/// Those are fully encrypted and thus any byte pattern may appear at the front of the packet.
|
||||
/// We can detect this by further checking the origin of the packet.
|
||||
#[must_use]
|
||||
fn allocations_try_handle<'p>(
|
||||
&mut self,
|
||||
from: SocketAddr,
|
||||
@@ -859,7 +858,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
fn agents_try_handle(
|
||||
&mut self,
|
||||
from: SocketAddr,
|
||||
@@ -892,7 +890,6 @@ where
|
||||
ControlFlow::Break(Ok(()))
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
fn connections_try_handle(
|
||||
&mut self,
|
||||
from: SocketAddr,
|
||||
|
||||
@@ -1061,7 +1061,7 @@ impl ClientState {
|
||||
query: query_result.query,
|
||||
message: query_result
|
||||
.result
|
||||
.map_err(|e| io::Error::new(io::ErrorKind::Other, format!("{e:#}"))),
|
||||
.map_err(|e| io::Error::other(format!("{e:#}"))),
|
||||
transport: dns::Transport::Tcp { local, remote },
|
||||
});
|
||||
continue;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "1.86.0"
|
||||
channel = "1.87.0"
|
||||
components = ["rust-src", "rust-analyzer", "clippy"]
|
||||
targets = ["x86_64-unknown-linux-musl"]
|
||||
|
||||
Reference in New Issue
Block a user