Incremental caching
This commit is contained in:
@@ -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 = []
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user