diff --git a/Cargo.toml b/Cargo.toml
index 58cdafd816709f45cfe86bd72b08069e31f1d3a1..0acb702703d206b5da4ba29e910d6429a3f360b7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "dotacat"
 version = "0.2.0"
 authors = ["Stephen <stephen@scd31.com>"]
 description = "Like lolcat, but fast"
-edition = "2018"
+edition = "2021"
 license = "MIT"
 readme = "README.md"
 homepage = "https://git.scd31.com/stephen/dotacat"