Page MenuHomePhabricator

D13973.diff
No OneTemporary

D13973.diff

diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -105,7 +105,7 @@
checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb"
dependencies = [
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -143,7 +143,7 @@
"parse-size",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -277,7 +277,7 @@
"actix-router",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -303,7 +303,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -542,7 +542,7 @@
"nom",
"num-traits",
"rusticata-macros",
- "thiserror",
+ "thiserror 1.0.61",
"time",
]
@@ -554,7 +554,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
"synstructure 0.13.1",
]
@@ -566,7 +566,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -710,7 +710,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -727,7 +727,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -764,7 +764,7 @@
"fastrand 2.1.0",
"hex",
"http 0.2.12",
- "hyper",
+ "hyper 0.14.28",
"ring 0.17.8",
"time",
"tokio",
@@ -1113,8 +1113,8 @@
"http-body 0.4.6",
"http-body 1.0.1",
"httparse",
- "hyper",
- "hyper-rustls",
+ "hyper 0.14.28",
+ "hyper-rustls 0.24.2",
"once_cell",
"pin-project-lite",
"pin-utils",
@@ -1202,7 +1202,7 @@
"futures-util",
"http 0.2.12",
"http-body 0.4.6",
- "hyper",
+ "hyper 0.14.28",
"itoa",
"matchit",
"memchr",
@@ -1211,7 +1211,7 @@
"pin-project-lite",
"rustversion",
"serde",
- "sync_wrapper",
+ "sync_wrapper 0.1.2",
"tower",
"tower-layer",
"tower-service",
@@ -1269,7 +1269,7 @@
"derive_more",
"grpc_clients",
"once_cell",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde_json",
"tokio",
@@ -1291,7 +1291,7 @@
"derive_more",
"futures-util",
"hex",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde-wasm-bindgen",
"serde_json",
@@ -1377,9 +1377,9 @@
"proc-macro2",
"quote",
"regex",
- "rustc-hash",
+ "rustc-hash 1.1.0",
"shlex",
- "syn 2.0.65",
+ "syn 2.0.87",
"which",
]
@@ -1581,6 +1581,12 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+[[package]]
+name = "cfg_aliases"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+
[[package]]
name = "chrono"
version = "0.4.38"
@@ -1648,7 +1654,7 @@
"heck 0.5.0",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -1722,7 +1728,7 @@
"once_cell",
"rand 0.8.5",
"regex",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde_json",
"sha2 0.10.8",
@@ -1765,7 +1771,7 @@
"num_cpus",
"prost",
"rand 0.7.3",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde_json",
"sha2 0.10.8",
@@ -1949,7 +1955,7 @@
checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f"
dependencies = [
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -1998,7 +2004,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2022,7 +2028,7 @@
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2033,7 +2039,7 @@
dependencies = [
"darling_core",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2110,7 +2116,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2120,6 +2126,7 @@
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
dependencies = [
"powerfmt",
+ "serde",
]
[[package]]
@@ -2130,7 +2137,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2184,7 +2191,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2240,7 +2247,7 @@
"openssl",
"serde",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.61",
]
[[package]]
@@ -2617,7 +2624,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -2951,6 +2958,25 @@
"want",
]
+[[package]]
+name = "hyper"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "httparse",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
[[package]]
name = "hyper-rustls"
version = "0.24.2"
@@ -2959,12 +2985,30 @@
dependencies = [
"futures-util",
"http 0.2.12",
- "hyper",
+ "hyper 0.14.28",
"log",
"rustls 0.21.12",
"rustls-native-certs 0.6.3",
"tokio",
- "tokio-rustls",
+ "tokio-rustls 0.24.1",
+]
+
+[[package]]
+name = "hyper-rustls"
+version = "0.27.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
+dependencies = [
+ "futures-util",
+ "http 1.1.0",
+ "hyper 1.5.1",
+ "hyper-util",
+ "rustls 0.23.7",
+ "rustls-pki-types",
+ "tokio",
+ "tokio-rustls 0.26.0",
+ "tower-service",
+ "webpki-roots 0.26.3",
]
[[package]]
@@ -2973,7 +3017,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
dependencies = [
- "hyper",
+ "hyper 0.14.28",
"pin-project-lite",
"tokio",
"tokio-io-timeout",
@@ -2986,7 +3030,7 @@
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
- "hyper",
+ "hyper 0.14.28",
"native-tls",
"tokio",
"tokio-native-tls",
@@ -2998,13 +3042,33 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7cc7dcb1ab67cd336f468a12491765672e61a3b6b148634dbfe2fe8acd3fe7d9"
dependencies = [
- "hyper",
+ "hyper 0.14.28",
"pin-project-lite",
"tokio",
"tokio-tungstenite 0.20.1",
"tungstenite 0.20.1",
]
+[[package]]
+name = "hyper-util"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "hyper 1.5.1",
+ "pin-project-lite",
+ "socket2 0.5.7",
+ "tokio",
+ "tower",
+ "tower-service",
+ "tracing",
+]
+
[[package]]
name = "iana-time-zone"
version = "0.1.60"
@@ -3051,14 +3115,14 @@
"grpc_clients",
"hex",
"http 0.2.12",
- "hyper",
+ "hyper 0.14.28",
"hyper-tungstenite",
"identity_search_messages",
"once_cell",
"prost",
"rand 0.8.5",
"regex",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde_json",
"siwe",
@@ -3246,7 +3310,7 @@
"serde",
"serde_json",
"spki 0.6.0",
- "thiserror",
+ "thiserror 1.0.61",
"zeroize",
]
@@ -3318,9 +3382,9 @@
[[package]]
name = "libc"
-version = "0.2.155"
+version = "0.2.164"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
+checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
[[package]]
name = "libloading"
@@ -3537,7 +3601,7 @@
"napi-derive-backend",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -3550,7 +3614,7 @@
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -3641,7 +3705,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -3759,7 +3823,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -3810,7 +3874,7 @@
"rc2",
"sha1",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.61",
"x509-parser",
]
@@ -3992,7 +4056,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -4143,17 +4207,18 @@
[[package]]
name = "postmark"
-version = "0.8.1"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "254a5dd703e0cb58b305d882618698682719141a09483868401ba3d0e689a96b"
+checksum = "f6f554c3f3e2610601e2015a84c0841a153c959c80ebac3ebc89f19902e7b207"
dependencies = [
"async-trait",
"bytes",
- "http 0.2.12",
- "reqwest",
+ "http 1.1.0",
+ "reqwest 0.12.5",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.61",
+ "time",
"typed-builder",
"url",
]
@@ -4187,7 +4252,7 @@
checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e"
dependencies = [
"proc-macro2",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -4286,6 +4351,58 @@
"prost",
]
+[[package]]
+name = "quinn"
+version = "0.11.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
+dependencies = [
+ "bytes",
+ "pin-project-lite",
+ "quinn-proto",
+ "quinn-udp",
+ "rustc-hash 2.0.0",
+ "rustls 0.23.7",
+ "socket2 0.5.7",
+ "thiserror 2.0.3",
+ "tokio",
+ "tracing",
+]
+
+[[package]]
+name = "quinn-proto"
+version = "0.11.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
+dependencies = [
+ "bytes",
+ "getrandom 0.2.15",
+ "rand 0.8.5",
+ "ring 0.17.8",
+ "rustc-hash 2.0.0",
+ "rustls 0.23.7",
+ "rustls-pki-types",
+ "slab",
+ "thiserror 2.0.3",
+ "tinyvec",
+ "tracing",
+ "web-time",
+]
+
+[[package]]
+name = "quinn-udp"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da"
+dependencies = [
+ "cfg_aliases",
+ "libc",
+ "once_cell",
+ "socket2 0.5.7",
+ "tracing",
+ "windows-sys 0.52.0",
+]
+
[[package]]
name = "quote"
version = "1.0.36"
@@ -4489,8 +4606,8 @@
"h2",
"http 0.2.12",
"http-body 0.4.6",
- "hyper",
- "hyper-rustls",
+ "hyper 0.14.28",
+ "hyper-rustls 0.24.2",
"hyper-tls",
"ipnet",
"js-sys",
@@ -4506,11 +4623,11 @@
"serde",
"serde_json",
"serde_urlencoded",
- "sync_wrapper",
+ "sync_wrapper 0.1.2",
"system-configuration",
"tokio",
"tokio-native-tls",
- "tokio-rustls",
+ "tokio-rustls 0.24.1",
"tokio-util",
"tower-service",
"url",
@@ -4519,7 +4636,49 @@
"wasm-streams",
"web-sys",
"webpki-roots 0.25.4",
- "winreg",
+ "winreg 0.50.0",
+]
+
+[[package]]
+name = "reqwest"
+version = "0.12.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "hyper 1.5.1",
+ "hyper-rustls 0.27.3",
+ "hyper-util",
+ "ipnet",
+ "js-sys",
+ "log",
+ "mime",
+ "once_cell",
+ "percent-encoding",
+ "pin-project-lite",
+ "quinn",
+ "rustls 0.23.7",
+ "rustls-pemfile 2.1.2",
+ "rustls-pki-types",
+ "serde",
+ "serde_json",
+ "serde_urlencoded",
+ "sync_wrapper 1.0.1",
+ "tokio",
+ "tokio-rustls 0.26.0",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "webpki-roots 0.26.3",
+ "winreg 0.52.0",
]
[[package]]
@@ -4626,6 +4785,12 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
+[[package]]
+name = "rustc-hash"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
+
[[package]]
name = "rustc_version"
version = "0.4.0"
@@ -4692,6 +4857,7 @@
"aws-lc-rs",
"log",
"once_cell",
+ "ring 0.17.8",
"rustls-pki-types",
"rustls-webpki 0.102.4",
"subtle",
@@ -4760,6 +4926,9 @@
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d"
+dependencies = [
+ "web-time",
+]
[[package]]
name = "rustls-webpki"
@@ -4886,7 +5055,7 @@
dependencies = [
"der 0.4.5",
"pem 0.8.3",
- "thiserror",
+ "thiserror 1.0.61",
]
[[package]]
@@ -4946,7 +5115,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -4977,7 +5146,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -5089,7 +5258,7 @@
dependencies = [
"num-bigint",
"num-traits",
- "thiserror",
+ "thiserror 1.0.61",
"time",
]
@@ -5105,7 +5274,7 @@
"k256",
"rand 0.8.5",
"sha3",
- "thiserror",
+ "thiserror 1.0.61",
"time",
]
@@ -5204,9 +5373,9 @@
[[package]]
name = "syn"
-version = "2.0.65"
+version = "2.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106"
+checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
dependencies = [
"proc-macro2",
"quote",
@@ -5219,6 +5388,12 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
+[[package]]
+name = "sync_wrapper"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
+
[[package]]
name = "synstructure"
version = "0.12.6"
@@ -5239,7 +5414,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -5293,7 +5468,16 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.61",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
+dependencies = [
+ "thiserror-impl 2.0.3",
]
[[package]]
@@ -5304,7 +5488,18 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
]
[[package]]
@@ -5411,7 +5606,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -5448,6 +5643,17 @@
"tokio",
]
+[[package]]
+name = "tokio-rustls"
+version = "0.26.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
+dependencies = [
+ "rustls 0.23.7",
+ "rustls-pki-types",
+ "tokio",
+]
+
[[package]]
name = "tokio-stream"
version = "0.1.15"
@@ -5483,7 +5689,7 @@
"rustls 0.21.12",
"tokio",
"tokio-native-tls",
- "tokio-rustls",
+ "tokio-rustls 0.24.1",
"tungstenite 0.20.1",
"webpki-roots 0.25.4",
]
@@ -5499,7 +5705,7 @@
"http 0.2.12",
"httparse",
"js-sys",
- "thiserror",
+ "thiserror 1.0.61",
"tokio",
"tokio-tungstenite 0.20.1",
"wasm-bindgen",
@@ -5535,7 +5741,7 @@
"h2",
"http 0.2.12",
"http-body 0.4.6",
- "hyper",
+ "hyper 0.14.28",
"hyper-timeout",
"percent-encoding",
"pin-project",
@@ -5567,14 +5773,14 @@
"h2",
"http 0.2.12",
"http-body 0.4.6",
- "hyper",
+ "hyper 0.14.28",
"hyper-timeout",
"percent-encoding",
"pin-project",
"prost",
"rustls-pemfile 1.0.4",
"tokio",
- "tokio-rustls",
+ "tokio-rustls 0.24.1",
"tokio-stream",
"tower",
"tower-layer",
@@ -5620,7 +5826,7 @@
"futures-core",
"http 0.2.12",
"http-body 0.4.6",
- "hyper",
+ "hyper 0.14.28",
"pin-project",
"tonic 0.9.2",
"tower-http",
@@ -5712,7 +5918,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -5810,7 +6016,7 @@
"log",
"rand 0.8.5",
"sha1",
- "thiserror",
+ "thiserror 1.0.61",
"url",
"utf-8",
]
@@ -5831,7 +6037,7 @@
"rand 0.8.5",
"rustls 0.21.12",
"sha1",
- "thiserror",
+ "thiserror 1.0.61",
"url",
"utf-8",
]
@@ -5847,13 +6053,13 @@
"derive_more",
"futures-util",
"grpc_clients",
- "hyper",
+ "hyper 0.14.28",
"hyper-tungstenite",
"jsonwebtoken",
"lapin",
"once_cell",
"prost",
- "reqwest",
+ "reqwest 0.11.27",
"serde",
"serde_json",
"tokio",
@@ -5880,13 +6086,22 @@
[[package]]
name = "typed-builder"
-version = "0.14.0"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77739c880e00693faef3d65ea3aad725f196da38b22fdc7ea6ded6e1ce4d3add"
+dependencies = [
+ "typed-builder-macro",
+]
+
+[[package]]
+name = "typed-builder-macro"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64cba322cb9b7bc6ca048de49e83918223f35e7a86311267013afff257004870"
+checksum = "1f718dfaf347dcb5b983bfc87608144b0bad87970aebcbea5ce44d2a30c08e63"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.87",
]
[[package]]
@@ -6108,7 +6323,7 @@
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
"wasm-bindgen-shared",
]
@@ -6142,7 +6357,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -6177,7 +6392,7 @@
"chrono",
"ece",
"http 0.2.12",
- "hyper",
+ "hyper 0.14.28",
"hyper-tls",
"jwt-simple",
"log",
@@ -6198,6 +6413,16 @@
"wasm-bindgen",
]
+[[package]]
+name = "web-time"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
[[package]]
name = "webpki-roots"
version = "0.23.1"
@@ -6213,6 +6438,15 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
+[[package]]
+name = "webpki-roots"
+version = "0.26.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd"
+dependencies = [
+ "rustls-pki-types",
+]
+
[[package]]
name = "websocket_messages"
version = "0.1.0"
@@ -6413,6 +6647,16 @@
"windows-sys 0.48.0",
]
+[[package]]
+name = "winreg"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5"
+dependencies = [
+ "cfg-if",
+ "windows-sys 0.48.0",
+]
+
[[package]]
name = "x509-cert"
version = "0.2.5"
@@ -6437,7 +6681,7 @@
"nom",
"oid-registry",
"rusticata-macros",
- "thiserror",
+ "thiserror 1.0.61",
"time",
]
@@ -6464,7 +6708,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
@@ -6484,7 +6728,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.65",
+ "syn 2.0.87",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,7 +77,7 @@
num_cpus = "1.13.1"
once_cell = "1.17"
opaque-ke = "2.1.0-pre.1"
-postmark = "0.8"
+postmark = { version = "0.11", features = ["reqwest", "reqwest-rustls-tls"] }
prost = "0.11"
regex = "1.10.3"
reqwest = { version = "0.11.18", default-features = false }
diff --git a/services/reports/Cargo.toml b/services/reports/Cargo.toml
--- a/services/reports/Cargo.toml
+++ b/services/reports/Cargo.toml
@@ -26,7 +26,7 @@
num-traits = { workspace = true }
num-derive = { workspace = true }
once_cell = { workspace = true }
-postmark = { workspace = true, features = ["reqwest"] }
+postmark = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_repr = { workspace = true }
diff --git a/services/reports/src/email/mod.rs b/services/reports/src/email/mod.rs
--- a/services/reports/src/email/mod.rs
+++ b/services/reports/src/email/mod.rs
@@ -46,7 +46,7 @@
// it's cheap to build this every time
let client = PostmarkClient::builder()
- .token(&email_config.postmark_token)
+ .server_token(&email_config.postmark_token)
.build();
let requests: SendEmailBatchRequest = emails
@@ -65,7 +65,7 @@
let email = email::SendEmailRequest::builder()
.from(&email_config.sender_email)
.to(recipient)
- .body(email::Body::html(item.rendered_message))
+ .body(postmark::api::Body::html(item.rendered_message))
.subject(item.subject)
.build();
Some(email)

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 8:43 AM (11 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2574716
Default Alt Text
D13973.diff (20 KB)

Event Timeline