diff --git a/Cargo.toml b/Cargo.toml index c32c39d38..65fa6fe13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,4 +5,3 @@ members = [ "meilisearch-lib", "meilisearch-auth", ] -edition = "2021" diff --git a/meilisearch-auth/Cargo.toml b/meilisearch-auth/Cargo.toml index 84a11360b..3b5379d8f 100644 --- a/meilisearch-auth/Cargo.toml +++ b/meilisearch-auth/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "meilisearch-auth" version = "0.25.0" -edition = "2018" +edition = "2021" [dependencies] enum-iterator = "0.7.0" diff --git a/meilisearch-error/Cargo.toml b/meilisearch-error/Cargo.toml index 0be85b557..9b2a0ef22 100644 --- a/meilisearch-error/Cargo.toml +++ b/meilisearch-error/Cargo.toml @@ -2,7 +2,7 @@ name = "meilisearch-error" version = "0.25.0" authors = ["marin "] -edition = "2018" +edition = "2021" [dependencies] actix-http = "=3.0.0-beta.10" diff --git a/meilisearch-http/Cargo.toml b/meilisearch-http/Cargo.toml index 0f4e8fa54..66a1706a5 100644 --- a/meilisearch-http/Cargo.toml +++ b/meilisearch-http/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Quentin de Quelen ", "Clément Renault "] description = "MeiliSearch HTTP server" -edition = "2018" +edition = "2021" license = "MIT" name = "meilisearch-http" version = "0.25.0" diff --git a/meilisearch-lib/Cargo.toml b/meilisearch-lib/Cargo.toml index ade1a46af..a1fb9176c 100644 --- a/meilisearch-lib/Cargo.toml +++ b/meilisearch-lib/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "meilisearch-lib" version = "0.25.0" -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/meilisearch-lib/src/index_controller/dump_actor/mod.rs b/meilisearch-lib/src/index_controller/dump_actor/mod.rs index b7d2015a4..c44941b78 100644 --- a/meilisearch-lib/src/index_controller/dump_actor/mod.rs +++ b/meilisearch-lib/src/index_controller/dump_actor/mod.rs @@ -301,6 +301,7 @@ impl DumpJob { AuthController::dump(&self.db_path, &temp_dump_path)?; let dump_path = tokio::task::spawn_blocking(move || -> Result { + let _ = &self; // for now we simply copy the updates/updates_files // FIXME: We may copy more files than necessary, if new files are added while we are // performing the dump. We need a way to filter them out.