diff --git a/Cargo.toml b/Cargo.toml
index b29c4ed29d8c75b77070bf2b6eae0d05fc9a0202..9d585c43c4ec177f9285adca1ab4a9ffcd13bf1f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "duniter-gva"
 version = "0.1.0"
 authors = ["librelois <elois@duniter.org>"]
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 repository = "https://git.duniter.org/nodes/rust/modules/duniter-gva"
 
 [dependencies]
diff --git a/bda/Cargo.toml b/bda/Cargo.toml
index d6e1a7187eaf81a3498a8a076b55f64a02c9343e..8e488c890929893bac53ec40247afc763bbf8a63 100644
--- a/bda/Cargo.toml
+++ b/bda/Cargo.toml
@@ -3,7 +3,7 @@ name = "duniter-bda"
 version = "0.1.0"
 authors = ["librelois <elois@duniter.org>"]
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 anyhow = "1.0.33"
diff --git a/conf/Cargo.toml b/conf/Cargo.toml
index 7540baacaca2b24887d6ab590d3eda048613c642..98d0a99ec54af59d222d28eb72645f4d3447e1d1 100644
--- a/conf/Cargo.toml
+++ b/conf/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["elois <elois@duniter.org>"]
 description = "Duniter GVA DB"
 repository = "https://git.duniter.org/nodes/rust/modules/duniter-gva"
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 
 [lib]
 path = "src/lib.rs"
diff --git a/db/Cargo.toml b/db/Cargo.toml
index 1cb967e1afff925dbe56840e8ab01137f9be482c..5bd1d5752c4814f65106e8196577d5b1b6759306 100644
--- a/db/Cargo.toml
+++ b/db/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["elois <elois@duniter.org>"]
 description = "Duniter GVA DB"
 repository = "https://git.duniter.org/nodes/rust/modules/duniter-gva"
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 
 [lib]
 path = "src/lib.rs"
diff --git a/dbs-reader/Cargo.toml b/dbs-reader/Cargo.toml
index b25a4885c77ed92fed616e3e0331f0124ce5465f..fad3a79f38d67747ff98eec5ec0027845c72dbfd 100644
--- a/dbs-reader/Cargo.toml
+++ b/dbs-reader/Cargo.toml
@@ -6,7 +6,7 @@ description = "Duniter GVA DBs read operations"
 repository = "https://git.duniter.org/nodes/rust/modules/duniter-gva"
 keywords = ["dubp", "duniter", "blockchain", "database"]
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 
 [lib]
 path = "src/lib.rs"
diff --git a/indexer/Cargo.toml b/indexer/Cargo.toml
index 49732e45d41bbaea9e0600d7b04e952faa3b6e31..0ad7e6cf97a9c5a1005d53756401d787dc0f53ec 100644
--- a/indexer/Cargo.toml
+++ b/indexer/Cargo.toml
@@ -6,7 +6,7 @@ description = "Duniter GVA DB writer"
 repository = "https://git.duniter.org/nodes/rust/modules/duniter-gva"
 keywords = ["dubp", "duniter", "blockchain", "database"]
 license = "AGPL-3.0"
-edition = "2018"
+edition = "2021"
 
 [lib]
 path = "src/lib.rs"