vector: 0.31.0 -> 0.33.0
This commit is contained in:
parent
27002ec4f5
commit
191393e7f5
2707
pkgs/tools/misc/vector/Cargo.lock
generated
2707
pkgs/tools/misc/vector/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -33,7 +33,7 @@
|
|||
|
||||
let
|
||||
pname = "vector";
|
||||
version = "0.31.0";
|
||||
version = "0.33.0";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
@ -42,23 +42,19 @@ rustPlatform.buildRustPackage {
|
|||
owner = "vectordotdev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+ATOHx+LQLQV4nMdj1FRRvDTqGCTbX9kl290AbY9Vw0=";
|
||||
hash = "sha256-ZhRvQQ0MxEd0Ry6sfEWUzYpEN80GhBOzpbEG5ZhCA2E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./rust-1.71-unnecessary-mut.diff
|
||||
];
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"aws-config-0.54.1" = "sha256-AVumLhybVbMnEah9/JqiQOQ4R0e2OsbB8WAJ422R6uk=";
|
||||
"azure_core-0.5.0" = "sha256-fojO7dhntpymMjV58TtYb7N4UN6rOp30D54x09RDXfQ=";
|
||||
"chrono-0.4.26" = "sha256-4aDDfLK9H0tEyKlZVMIIU4NjvF70spVYFrfM3/05e0k=";
|
||||
"greptime-proto-0.1.0" = "sha256-kSOy/0s8ZJ1RfqOb469oaVlreABtHxesNaMzFH6H+aE=";
|
||||
"greptimedb-client-0.1.0" = "sha256-mGgbxp/h55snowS2BV+QRwrhnE5vywfRF9Gc+8MoAdY=";
|
||||
"heim-0.1.0-rc.1" = "sha256-ODKEQ1udt7FlxI5fvoFMG7C2zmM45eeEYDUEaLTsdYo=";
|
||||
"nix-0.26.2" = "sha256-uquYvRT56lhupkrESpxwKEimRFhmYvri10n3dj0f2yg=";
|
||||
"ntapi-0.3.7" = "sha256-G6ZCsa3GWiI/FeGKiK9TWkmTxen7nwpXvm5FtjNtjWU=";
|
||||
"tokio-util-0.7.4" = "sha256-rAzj44O+GOZhG+o6FVN5qCcG/NWxW8fUpScm+xsRjIs=";
|
||||
"tokio-util-0.7.8" = "sha256-HCvtfohOoa1ZjD4s7QLDbIV4fe/MVBKtgM1QQX7gGKQ=";
|
||||
"tracing-0.2.0" = "sha256-YAxeEofFA43PX2hafh3RY+C81a2v6n1fGzYz2FycC3M=";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
diff --git a/lib/vector-core/src/tls/incoming.rs b/lib/vector-core/src/tls/incoming.rs
|
||||
index 5d2fd1cdb..7992f2c2b 100644
|
||||
--- a/lib/vector-core/src/tls/incoming.rs
|
||||
+++ b/lib/vector-core/src/tls/incoming.rs
|
||||
@@ -263,7 +263,7 @@ impl MaybeTlsIncomingStream<TcpStream> {
|
||||
where
|
||||
F: FnOnce(Pin<&mut MaybeTlsStream<TcpStream>>, &mut Context) -> Poll<io::Result<T>>,
|
||||
{
|
||||
- let mut this = self.get_mut();
|
||||
+ let this = self.get_mut();
|
||||
loop {
|
||||
return match &mut this.state {
|
||||
StreamState::Accepted(stream) => poll_fn(Pin::new(stream), cx),
|
||||
@@ -307,7 +307,7 @@ impl AsyncWrite for MaybeTlsIncomingStream<TcpStream> {
|
||||
}
|
||||
|
||||
fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context) -> Poll<io::Result<()>> {
|
||||
- let mut this = self.get_mut();
|
||||
+ let this = self.get_mut();
|
||||
match &mut this.state {
|
||||
StreamState::Accepted(stream) => match Pin::new(stream).poll_shutdown(cx) {
|
||||
Poll::Ready(Ok(())) => {
|
Loading…
Reference in a new issue