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 a4a6ef5a1..4fba7c90d 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 5650055be..cb015f23e 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 b6b389b38..a2e7c1228 100644 --- a/meilisearch-lib/src/index_controller/dump_actor/mod.rs +++ b/meilisearch-lib/src/index_controller/dump_actor/mod.rs @@ -298,6 +298,7 @@ impl DumpJob { .await?; 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.