mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
chore: Move the deseserializer into the serde module
This commit is contained in:
parent
66ae5c8161
commit
c5e951be09
@ -21,7 +21,6 @@ const DATA_SCHEMA: &[u8] = b"data-schema";
|
|||||||
|
|
||||||
pub mod schema;
|
pub mod schema;
|
||||||
pub(crate) mod index;
|
pub(crate) mod index;
|
||||||
mod deserializer;
|
|
||||||
mod document_key;
|
mod document_key;
|
||||||
mod serde;
|
mod serde;
|
||||||
mod update;
|
mod update;
|
||||||
|
@ -19,6 +19,7 @@ pub mod find_id;
|
|||||||
pub mod key_to_string;
|
pub mod key_to_string;
|
||||||
pub mod serializer;
|
pub mod serializer;
|
||||||
pub mod indexer_serializer;
|
pub mod indexer_serializer;
|
||||||
|
pub mod deserializer;
|
||||||
|
|
||||||
pub fn calculate_hash<T: Hash>(t: &T) -> u64 {
|
pub fn calculate_hash<T: Hash>(t: &T) -> u64 {
|
||||||
let mut s = DefaultHasher::new();
|
let mut s = DefaultHasher::new();
|
||||||
|
@ -9,7 +9,7 @@ use serde::de::DeserializeOwned;
|
|||||||
|
|
||||||
use crate::database::{DocumentKey, DocumentKeyAttr};
|
use crate::database::{DocumentKey, DocumentKeyAttr};
|
||||||
use crate::database::{retrieve_data_schema, retrieve_data_index};
|
use crate::database::{retrieve_data_schema, retrieve_data_index};
|
||||||
use crate::database::deserializer::Deserializer;
|
use crate::database::serde::deserializer::Deserializer;
|
||||||
use crate::database::schema::Schema;
|
use crate::database::schema::Schema;
|
||||||
use crate::database::index::Index;
|
use crate::database::index::Index;
|
||||||
use crate::rank::{QueryBuilder, FilterFunc};
|
use crate::rank::{QueryBuilder, FilterFunc};
|
||||||
|
Loading…
Reference in New Issue
Block a user