optimize fullstack compile times
This commit is contained in:
1 parent
f8ce72c605
commit
23090cb56b
12 files changed
+55
-62
No files matched your search
@@ -15,7 +15,7 @@ pub(crate) fn serde_from_bytes<T: DeserializeOwned>(string: &[u8]) -> Option<T>
|
||||
}
|
||||
};
|
||||
|
||||
match postcard::from_bytes(&decompressed) {
|
||||
match ciborium::from_reader(std::io::Cursor::new(decompressed)) {
|
||||
Ok(data) => Some(data),
|
||||
Err(err) => {
|
||||
tracing::error!("Failed to deserialize: {}", err);
|
||||
|
||||
Reference in new issue
Block a user