Skip to content

Commit

Permalink
Update docs and next versions
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed May 5, 2024
1 parent becc132 commit c907d43
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion utoipa-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion utoipa-rapidoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions utoipa-rapidoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions utoipa-rapidoc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion utoipa-redoc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions utoipa-redoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions utoipa-redoc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion utoipa-scalar/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions utoipa-scalar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions utoipa-scalar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions utoipa-swagger-ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions utoipa-swagger-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions utoipa-swagger-ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion utoipa/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions utoipa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c907d43

Please sign in to comment.