Improved object serialization

This commit is contained in:
mdecimus
2025-02-23 12:22:11 +01:00
parent 4b3b158ed3
commit b7c0f8447b
118 changed files with 4666 additions and 3165 deletions

28
Cargo.lock generated
View File

@@ -1217,6 +1217,7 @@ dependencies = [
"directory",
"dns-update",
"futures",
"hashify",
"hostname 0.4.0",
"hyper 1.6.0",
"idna",
@@ -1896,6 +1897,12 @@ version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
[[package]]
name = "downcast-rs"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea8a8b81cacc08888170eef4d13b775126db426d0b348bee9d18c2c1eaf123cf"
[[package]]
name = "dsa"
version = "0.6.3"
@@ -2055,6 +2062,7 @@ dependencies = [
"cbc",
"common",
"directory",
"hashify",
"jmap_proto",
"mail-builder",
"mail-parser",
@@ -2124,6 +2132,16 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
name = "erased-serde"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
dependencies = [
"serde",
"typeid",
]
[[package]]
name = "errno"
version = "0.3.10"
@@ -4014,6 +4032,7 @@ dependencies = [
"bincode",
"common",
"directory",
"email",
"imap",
"imap_proto",
"jmap",
@@ -7435,6 +7454,12 @@ dependencies = [
"static_assertions",
]
[[package]]
name = "typeid"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e"
[[package]]
name = "typenum"
version = "1.17.0"
@@ -7595,6 +7620,9 @@ dependencies = [
"base64 0.22.1",
"blake3",
"chrono",
"downcast-rs",
"erased-serde",
"fast-float",
"form_urlencoded",
"futures",
"http-body-util",