Bump Rust edition to 2021 and a few crates (#18608)

* bump Rust edition to 2021, update a few creates

* bump Rust edition to 2021, update a few creates
This commit is contained in:
Max Nachlinger
2024-05-08 19:43:11 -07:00
committed by GitHub
parent b67a019cf9
commit 03389dfdbd
271 changed files with 366 additions and 301 deletions

View File

@@ -1,2 +1,3 @@
[workspace]
members = ["output/*"]
resolver = "2"

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "API under test"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "API under test"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]

View File

@@ -4,7 +4,7 @@ version = "1.0.0"
authors = ["OpenAPI Generator team and contributors"]
description = "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\"
license = "Apache-2.0"
edition = "2018"
edition = "2021"
publish = ["crates-io"]
[features]

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]

View File

@@ -5,7 +5,7 @@ authors = ["OpenAPI Generator team and contributors"]
description = "This spec is for testing rust-server-specific things"
# Override this license by providing a License Object in the OpenAPI.
license = "Unlicense"
edition = "2018"
edition = "2021"
[features]
default = ["client", "server"]