From c907d438fc6b7f78277169af8d5022c0582f8764 Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Sun, 5 May 2024 20:34:51 +0300 Subject: [PATCH] Update docs and next versions --- utoipa-gen/Cargo.toml | 2 +- utoipa-rapidoc/Cargo.toml | 2 +- utoipa-rapidoc/README.md | 4 ++-- utoipa-rapidoc/src/lib.rs | 4 ++-- utoipa-redoc/Cargo.toml | 2 +- utoipa-redoc/README.md | 4 ++-- utoipa-redoc/src/lib.rs | 4 ++-- utoipa-scalar/Cargo.toml | 2 +- utoipa-scalar/README.md | 4 ++-- utoipa-scalar/src/lib.rs | 4 ++-- utoipa-swagger-ui/Cargo.toml | 6 +++--- utoipa-swagger-ui/README.md | 4 ++-- utoipa-swagger-ui/src/lib.rs | 4 ++-- utoipa/Cargo.toml | 2 +- utoipa/src/lib.rs | 4 ++-- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/utoipa-gen/Cargo.toml b/utoipa-gen/Cargo.toml index db0deac4..a7946e41 100644 --- a/utoipa-gen/Cargo.toml +++ b/utoipa-gen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-gen" description = "Code generation implementation for utoipa" -version = "4.2.0" +version = "4.3.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/utoipa-rapidoc/Cargo.toml b/utoipa-rapidoc/Cargo.toml index 1d6f762f..6b71fd16 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 = "3.0.0" +version = "4.0.0" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["rapidoc", "openapi", "documentation"] diff --git a/utoipa-rapidoc/README.md b/utoipa-rapidoc/README.md index 18307269..07fbb04b 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 = "3" +utoipa-rapidoc = "4" ``` Enable actix-web integration with RapiDoc. ```toml [dependencies] -utoipa-rapidoc = { version = "3", features = ["actix-web"] } +utoipa-rapidoc = { version = "4", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-rapidoc/src/lib.rs b/utoipa-rapidoc/src/lib.rs index 61583569..55af11ec 100644 --- a/utoipa-rapidoc/src/lib.rs +++ b/utoipa-rapidoc/src/lib.rs @@ -20,13 +20,13 @@ //! Use RapiDoc only without any boiler plate implementation. //! ```toml //! [dependencies] -//! utoipa-rapidoc = "0.1" +//! utoipa-rapidoc = "4" //! ``` //! //! Enable actix-web integration with RapiDoc. //! ```toml //! [dependencies] -//! utoipa-rapidoc = { version = "0.1", features = ["actix-web"] } +//! utoipa-rapidoc = { version = "4", features = ["actix-web"] } //! ``` //! //! # Using standalone diff --git a/utoipa-redoc/Cargo.toml b/utoipa-redoc/Cargo.toml index fce59354..1569fea1 100644 --- a/utoipa-redoc/Cargo.toml +++ b/utoipa-redoc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-redoc" description = "Redoc for utoipa" -version = "3.0.0" +version = "4.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/utoipa-redoc/README.md b/utoipa-redoc/README.md index f4f3fdbb..164ccaad 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 = "3" +utoipa-redoc = "4" ``` Enable actix-web integration with Redoc. ```toml [dependencies] -utoipa-redoc = { version = "3", features = ["actix-web"] } +utoipa-redoc = { version = "4", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-redoc/src/lib.rs b/utoipa-redoc/src/lib.rs index a4f1c229..566c084d 100644 --- a/utoipa-redoc/src/lib.rs +++ b/utoipa-redoc/src/lib.rs @@ -20,13 +20,13 @@ //! Use Redoc only without any boiler plate implementation. //! ```toml //! [dependencies] -//! utoipa-redoc = "0.1" +//! utoipa-redoc = "4" //! ``` //! //! Enable actix-web integration with Redoc. //! ```toml //! [dependencies] -//! utoipa-redoc = { version = "0.1", features = ["actix-web"] } +//! utoipa-redoc = { version = "4", features = ["actix-web"] } //! ``` //! //! # Using standalone diff --git a/utoipa-scalar/Cargo.toml b/utoipa-scalar/Cargo.toml index a9986e86..3b58b63a 100644 --- a/utoipa-scalar/Cargo.toml +++ b/utoipa-scalar/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-scalar" description = "Scalar for utoipa" -version = "3.0.0" +version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/utoipa-scalar/README.md b/utoipa-scalar/README.md index 7434a696..ebf0930d 100644 --- a/utoipa-scalar/README.md +++ b/utoipa-scalar/README.md @@ -24,13 +24,13 @@ You may find fullsize examples from utoipa's Github [repository][examples]. Use Scalar only without any boiler plate implementation. ```toml [dependencies] -utoipa-scalar = "3" +utoipa-scalar = "0.1" ``` Enable actix-web integration with Scalar. ```toml [dependencies] -utoipa-scalar = { version = "3", features = ["actix-web"] } +utoipa-scalar = { version = "0.1", features = ["actix-web"] } ``` # Using standalone diff --git a/utoipa-scalar/src/lib.rs b/utoipa-scalar/src/lib.rs index bd5d5707..8258f767 100644 --- a/utoipa-scalar/src/lib.rs +++ b/utoipa-scalar/src/lib.rs @@ -20,13 +20,13 @@ //! Use Scalar only without any boiler plate implementation. //! ```toml //! [dependencies] -//! utoipa-scalar = "3" +//! utoipa-scalar = "0.1" //! ``` //! //! Enable actix-web integration with Scalar. //! ```toml //! [dependencies] -//! utoipa-scalar = { version = "3", features = ["actix-web"] } +//! utoipa-scalar = { version = "0.1", features = ["actix-web"] } //! ``` //! //! # Using standalone diff --git a/utoipa-swagger-ui/Cargo.toml b/utoipa-swagger-ui/Cargo.toml index 503bd2ac..17a503a4 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 = "6.0.0" +version = "7.0.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -32,6 +32,6 @@ features = ["actix-web", "axum", "rocket"] rustdoc-args = ["--cfg", "doc_cfg"] [build-dependencies] -zip_next = { version = "1.0", default-features = false, features = ["deflate"] } +zip = { version = "1", default-features = false, features = ["deflate"] } regex = "1.7" -reqwest = { version = "0.11", features = ["blocking"] } +reqwest = { version = "0.12", features = ["blocking"] } diff --git a/utoipa-swagger-ui/README.md b/utoipa-swagger-ui/README.md index 463dd910..f56d854a 100644 --- a/utoipa-swagger-ui/README.md +++ b/utoipa-swagger-ui/README.md @@ -37,14 +37,14 @@ Use only the raw types without any boilerplate implementation. ```toml [dependencies] -utoipa-swagger-ui = "6" +utoipa-swagger-ui = "7" ``` Enable actix-web framework with Swagger UI you could define the dependency as follows. ```toml [dependencies] -utoipa-swagger-ui = { version = "6", features = ["actix-web"] } +utoipa-swagger-ui = { version = "7", features = ["actix-web"] } ``` **Note!** Also remember that you already have defined `utoipa` dependency in your `Cargo.toml` diff --git a/utoipa-swagger-ui/src/lib.rs b/utoipa-swagger-ui/src/lib.rs index 685eb4d5..b903b77d 100644 --- a/utoipa-swagger-ui/src/lib.rs +++ b/utoipa-swagger-ui/src/lib.rs @@ -33,13 +33,13 @@ //! Use only the raw types without any boiler plate implementation. //! ```toml //! [dependencies] -//! utoipa-swagger-ui = "6" +//! utoipa-swagger-ui = "7" //! ``` //! //! Enable actix-web framework with Swagger UI you could define the dependency as follows. //! ```toml //! [dependencies] -//! utoipa-swagger-ui = { version = "6", features = ["actix-web"] } +//! utoipa-swagger-ui = { version = "7", features = ["actix-web"] } //! ``` //! //! **Note!** Also remember that you already have defined `utoipa` dependency in your `Cargo.toml` diff --git a/utoipa/Cargo.toml b/utoipa/Cargo.toml index cb7d08c3..aae659d0 100644 --- a/utoipa/Cargo.toml +++ b/utoipa/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa" description = "Compile time generated OpenAPI documentation for Rust" -version = "4.2.0" +version = "4.2.1" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/utoipa/src/lib.rs b/utoipa/src/lib.rs index fc48251b..8053e97d 100644 --- a/utoipa/src/lib.rs +++ b/utoipa/src/lib.rs @@ -100,14 +100,14 @@ //! Add minimal dependency declaration to Cargo.toml. //! ```toml //! [dependencies] -//! utoipa = "3" +//! utoipa = "4" //! ``` //! //! To enable more features such as use actix framework extras you could define the //! dependency as follows. //! ```toml //! [dependencies] -//! utoipa = { version = "3", features = ["actix_extras"] } +//! utoipa = { version = "4", features = ["actix_extras"] } //! ``` //! //! **Note!** To use `utoipa` together with Swagger UI you can use the [`utoipa-swagger-ui`][utoipa_swagger] crate.