Get ride of rust messagepack (rmp)

This commit is contained in:
Clément Renault 2019-10-11 16:16:21 +02:00
parent 81bf6d583d
commit 710ab2386c
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
9 changed files with 45 additions and 76 deletions

View file

@ -104,7 +104,7 @@ impl Index {
{
let bytes = self.documents_fields.document_attribute(reader, document_id, attribute)?;
match bytes {
Some(bytes) => Ok(Some(rmp_serde::from_read_ref(bytes)?)),
Some(bytes) => Ok(Some(serde_json::from_slice(bytes)?)),
None => Ok(None),
}
}