From 50db1b0f9ba617a942c78481275461c714e12660 Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Sat, 7 Oct 2023 13:08:06 +0300 Subject: [PATCH] Update utoipa versions Update utoipa versions for `utoipa-swagger-ui`, `utoia-redoc`, and `utoipa-rapidoc`. --- utoipa-rapidoc/Cargo.toml | 4 ++-- utoipa-rapidoc/README.md | 4 ++-- utoipa-redoc/Cargo.toml | 4 ++-- utoipa-redoc/README.md | 4 ++-- utoipa-swagger-ui/Cargo.toml | 4 ++-- utoipa-swagger-ui/README.md | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/utoipa-rapidoc/Cargo.toml b/utoipa-rapidoc/Cargo.toml index 8e79907a..b3ef4c64 100644 --- a/utoipa-rapidoc/Cargo.toml +++ b/utoipa-rapidoc/Cargo.toml @@ -2,7 +2,7 @@ name = "utoipa-rapidoc" description = "RapiDoc for utoipa" edition = "2021" -version = "0.1.0" +version = "1.0.0" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["rapidoc", "openapi", "documentation"] @@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "doc_cfg"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } -utoipa = { version = "3", path = "../utoipa" } +utoipa = { version = "4", path = "../utoipa" } actix-web = { version = "4", optional = true, default-features = false } rocket = { version = "0.5.0-rc.3", features = ["json"], optional = true } axum = { version = "0.6", optional = true } diff --git a/utoipa-rapidoc/README.md b/utoipa-rapidoc/README.md index 2fc7b9fb..7a490e59 100644 --- a/utoipa-rapidoc/README.md +++ b/utoipa-rapidoc/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use RapiDoc only without any boiler plate implementation. ```toml [dependencies] -utoipa-rapidoc = "0.1" +utoipa-rapidoc = "1" ``` Enable actix-web integration with RapiDoc. ```toml [dependencies] -utoipa-rapidoc = { version = "0.1", features = ["actix-web"] } +utoipa-rapidoc = { version = "1", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-redoc/Cargo.toml b/utoipa-redoc/Cargo.toml index ef3bee35..a536d2b9 100644 --- a/utoipa-redoc/Cargo.toml +++ b/utoipa-redoc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-redoc" description = "Redoc for utoipa" -version = "0.1.0" +version = "1.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "doc_cfg"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } -utoipa = { version = "3", path = "../utoipa" } +utoipa = { version = "4", path = "../utoipa" } actix-web = { version = "4", optional = true, default-features = false } rocket = { version = "0.5.0-rc.3", features = ["json"], optional = true } axum = { version = "0.6", optional = true } diff --git a/utoipa-redoc/README.md b/utoipa-redoc/README.md index 217a49f3..9da0dcc1 100644 --- a/utoipa-redoc/README.md +++ b/utoipa-redoc/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use Redoc only without any boiler plate implementation. ```toml [dependencies] -utoipa-redoc = "0.1" +utoipa-redoc = "1" ``` Enable actix-web integration with Redoc. ```toml [dependencies] -utoipa-redoc = { version = "0.1", features = ["actix-web"] } +utoipa-redoc = { version = "1", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-swagger-ui/Cargo.toml b/utoipa-swagger-ui/Cargo.toml index e6e5eb5a..a91a82bc 100644 --- a/utoipa-swagger-ui/Cargo.toml +++ b/utoipa-swagger-ui/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-swagger-ui" description = "Swagger UI for utoipa" -version = "3.1.6" +version = "4.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -20,7 +20,7 @@ mime_guess = { version = "2.0" } actix-web = { version = "4", optional = true, default-features = false } rocket = { version = "0.5.0-rc.3", features = ["json"], optional = true } axum = { version = "0.6", optional = true } -utoipa = { version = "3", path = "../utoipa" } +utoipa = { version = "4", path = "../utoipa" } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } diff --git a/utoipa-swagger-ui/README.md b/utoipa-swagger-ui/README.md index f889dcec..2ea61ad1 100644 --- a/utoipa-swagger-ui/README.md +++ b/utoipa-swagger-ui/README.md @@ -36,13 +36,13 @@ more details at [serve](https://docs.rs/utoipa-swagger-ui/latest/utoipa_swagger_ Use only the raw types without any boilerplate implementation. ```toml [dependencies] -utoipa-swagger-ui = "3" +utoipa-swagger-ui = "4" ``` Enable actix-web framework with Swagger UI you could define the dependency as follows. ```toml [dependencies] -utoipa-swagger-ui = { version = "3", features = ["actix-web"] } +utoipa-swagger-ui = { version = "4", features = ["actix-web"] } ``` **Note!** Also remember that you already have defined `utoipa` dependency in your `Cargo.toml`