Incremental caching

This commit is contained in:
mdecimus
2025-04-09 09:56:54 +02:00
parent b9d93730c7
commit b396341240
121 changed files with 2247 additions and 2643 deletions

View File

@@ -18,6 +18,7 @@ parking_lot = "0.12.3"
tokio = { version = "1.23", features = ["net", "macros"] }
ahash = "0.8.11"
rkyv = { version = "0.8.10", features = ["little_endian"] }
compact_str = "0.9.0"
[features]
test_mode = []

View File

@@ -6,6 +6,7 @@
use std::{borrow::Cow, fmt::Debug, str::FromStr, time::Duration};
use compact_str::CompactString;
use mail_auth::common::verify::VerifySignature;
use crate::*;
@@ -28,6 +29,12 @@ impl From<String> for Value {
}
}
impl From<CompactString> for Value {
fn from(value: CompactString) -> Self {
Self::String(value.to_string())
}
}
impl From<u64> for Value {
fn from(value: u64) -> Self {
Self::UInt(value)