diff --git a/Cargo.toml b/Cargo.toml
index 3ea909b5..a1e0ade4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ repository = "https://github.com/fussybeaver/bollard"
documentation = "https://docs.rs/bollard"
readme = "README.md"
keywords = ["docker"]
-edition = "2018"
+edition = "2021"
[features]
# Enable tests specifically for the http connector
diff --git a/codegen/pom.xml b/codegen/pom.xml
index 6c73d3e2..c785764f 100644
--- a/codegen/pom.xml
+++ b/codegen/pom.xml
@@ -31,7 +31,7 @@
models.rs,lib.rs,Cargo.toml,config,README.md
bollard-stubs
- 1.42.0-rc.2
+ 1.42.0-rc.3
diff --git a/codegen/src/main/resources/bollard/Cargo.mustache b/codegen/src/main/resources/bollard/Cargo.mustache
index be6986f8..b4b49b58 100644
--- a/codegen/src/main/resources/bollard/Cargo.mustache
+++ b/codegen/src/main/resources/bollard/Cargo.mustache
@@ -4,7 +4,7 @@ version = "{{appVersion}}"
authors = [ "Bollard contributors" ]
description = "Stubs used for the Bollard rust async Docker client API"
license = "Apache-2.0"
-edition = "2018"
+edition = "2021"
[dependencies]
chrono = { version = "0.4", features = ["serde"], optional = true }
diff --git a/codegen/target/generated-sources/Cargo.toml b/codegen/target/generated-sources/Cargo.toml
index 31ad109c..d9fe2924 100644
--- a/codegen/target/generated-sources/Cargo.toml
+++ b/codegen/target/generated-sources/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "bollard-stubs"
-version = "1.42.0-rc.2"
+version = "1.42.0-rc.3"
authors = [ "Bollard contributors" ]
description = "Stubs used for the Bollard rust async Docker client API"
license = "Apache-2.0"
-edition = "2018"
+edition = "2021"
[dependencies]
chrono = { version = "0.4", features = ["serde"], optional = true }
diff --git a/codegen/target/generated-sources/README.md b/codegen/target/generated-sources/README.md
index 3a157dd5..595462c8 100644
--- a/codegen/target/generated-sources/README.md
+++ b/codegen/target/generated-sources/README.md
@@ -7,9 +7,9 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
-- API version: 1.42.0-rc.2
-- Code generation suffix: 1.42.0-rc.2
-- Build date: 2022-06-11T13:13:57.645+01:00
+- API version: 1.42.0-rc.3
+- Code generation suffix: 1.42.0-rc.3
+- Build date: 2022-06-18T09:45:11.451+01:00
This autogenerated project defines an API crate `bollard-stubs` which contains:
* Data types representing the underlying data model.