Zero-copy deserialization of Sieve scripts and reports + Bump multiple dependencies to their latest versions
This commit is contained in:
@@ -6,13 +6,12 @@ resolver = "2"
|
||||
|
||||
[dependencies]
|
||||
event_macro = { path = "./event-macro" }
|
||||
mail-auth = { version = "0.6" }
|
||||
mail-parser = { version = "0.10", features = ["full_encoding"] }
|
||||
mail-auth = { version = "0.7" }
|
||||
mail-parser = { version = "0.11", features = ["full_encoding"] }
|
||||
base64 = "0.22.1"
|
||||
serde = "1.0"
|
||||
serde_json = "1.0.120"
|
||||
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "http2"]}
|
||||
bincode = "1.3.3"
|
||||
rtrb = "0.3.1"
|
||||
parking_lot = "0.12.3"
|
||||
tokio = { version = "1.23", features = ["net", "macros"] }
|
||||
|
||||
@@ -205,10 +205,6 @@ impl EventType {
|
||||
.reason(err)
|
||||
}
|
||||
|
||||
pub fn from_bincode_error(self, err: bincode::Error) -> Error {
|
||||
self.reason(err).details("Bincode deserialization failed")
|
||||
}
|
||||
|
||||
pub fn from_http_str_error(self, err: reqwest::header::ToStrError) -> Error {
|
||||
self.reason(err)
|
||||
.details("Failed to convert header to string")
|
||||
|
||||
Reference in New Issue
Block a user