Skip to content

Commit

Permalink
Bump up next versions
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Oct 14, 2024
1 parent 881f6dd commit 1015cf2
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 33 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,13 @@ and the `ipa` is _api_ reversed. Aaand... `ipa` is also an awesome type of beer

## Install

Add minimal dependency declaration to `Cargo.toml`.
Add dependency declaration to `Cargo.toml`.

```toml
[dependencies]
utoipa = "5"
```

> [!NOTE]
> 5.0.0 is not yet fully released. Please refer to a tag like `utoipa-4.2.3` for examples of that version.
## Examples

_Create type with `ToSchema` and use it in `#[utoipa::path(...)]` that is registered to the `OpenApi`._
Expand Down
4 changes: 2 additions & 2 deletions utoipa-axum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "utoipa-axum"
description = "Utoipa's axum bindings for seamless integration for the two"
version = "0.1.0-rc.0"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ debug = []

[dependencies]
axum = { version = "0.7", default-features = false }
utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = [
utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [
"macros",
] }
tower-service = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion utoipa-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "utoipa-config"
description = "Config for controlling utoipa's various aspects"
version = "0.1.0-rc.0"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions utoipa-config/config-test-crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ edition = "2021"
rust-version = "1.75"

[dependencies]
utoipa = { version = "5.0.0-rc", path = "../../utoipa", features = [
utoipa = { version = "5.0.0", path = "../../utoipa", features = [
"debug",
"config",
] }
serde = "1"
serde_json = "1"

[build-dependencies]
utoipa-config = { version = "0.1.0-rc", path = "../../utoipa-config" }
utoipa-config = { version = "0.1", path = "../../utoipa-config" }

[dev-dependencies]
utoipa-config = { version = "0.1.0-rc", path = "../../utoipa-config" }
utoipa-config = { version = "0.1", path = "../../utoipa-config" }

[workspace]
4 changes: 2 additions & 2 deletions 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 = "5.0.0-rc.0"
version = "5.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ rust-version.workspace = true
proc-macro = true

[dependencies]
utoipa-config = { version = "0.1.0-rc", path = "../utoipa-config", optional = true }
utoipa-config = { version = "0.1", path = "../utoipa-config", optional = true }
once_cell = { version = "1.19.0", optional = true }
proc-macro2 = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits"] }
Expand Down
10 changes: 7 additions & 3 deletions 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 = "4.0.1-rc.0"
version = "5.0.0"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["rapidoc", "openapi", "documentation"]
Expand All @@ -18,10 +18,14 @@ rustdoc-args = ["--cfg", "doc_cfg"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] }
utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [
"macros",
] }
actix-web = { version = "4", optional = true, default-features = false }
rocket = { version = "0.5", features = ["json"], optional = true }
axum = { version = "0.7", default-features = false, features = ["json"], optional = true }
axum = { version = "0.7", default-features = false, features = [
"json",
], optional = true }

[dev-dependencies]
utoipa-rapidoc = { path = ".", features = ["actix-web", "axum", "rocket"] }
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 = "4"
utoipa-rapidoc = "5"
```

Enable actix-web integration with RapiDoc.
```toml
[dependencies]
utoipa-rapidoc = { version = "4", features = ["actix-web"] }
utoipa-rapidoc = { version = "5", features = ["actix-web"] }
```

# Using standalone
Expand Down
6 changes: 4 additions & 2 deletions 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 = "4.0.1-rc.0"
version = "5.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -18,7 +18,9 @@ rustdoc-args = ["--cfg", "doc_cfg"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] }
utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [
"macros",
] }
actix-web = { version = "4", optional = true }
rocket = { version = "0.5", features = ["json"], optional = true }
axum = { version = "0.7", default-features = false, optional = true }
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 = "4"
utoipa-redoc = "5"
```

Enable actix-web integration with Redoc.
```toml
[dependencies]
utoipa-redoc = { version = "4", features = ["actix-web"] }
utoipa-redoc = { version = "5", features = ["actix-web"] }
```

# Using standalone
Expand Down
6 changes: 4 additions & 2 deletions 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 = "0.2.0-rc.0"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -18,7 +18,9 @@ rustdoc-args = ["--cfg", "doc_cfg"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] }
utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [
"macros",
] }
actix-web = { version = "4", optional = true, default-features = false }
rocket = { version = "0.5", features = ["json"], optional = true }
axum = { version = "0.7", default-features = false, optional = true }
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 = "0.1"
utoipa-scalar = "0.2"
```

Enable actix-web integration with Scalar.
```toml
[dependencies]
utoipa-scalar = { version = "0.1", features = ["actix-web"] }
utoipa-scalar = { version = "0.2", features = ["actix-web"] }
```

# Using standalone
Expand Down
6 changes: 4 additions & 2 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 = "7.1.1-rc.0"
version = "8.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -27,7 +27,9 @@ rocket = { version = "0.5", features = ["json"], optional = true }
axum = { version = "0.7", default-features = false, features = [
"json",
], optional = true }
utoipa = { version = "5.0.0-rc", path = "../utoipa", default-features = false, features = ["macros"] }
utoipa = { version = "5.0.0", path = "../utoipa", default-features = false, features = [
"macros",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }

Expand Down
4 changes: 2 additions & 2 deletions utoipa-swagger-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ Use only the raw types without any boilerplate implementation.

```toml
[dependencies]
utoipa-swagger-ui = "7"
utoipa-swagger-ui = "8"
```

Enable actix-web framework with Swagger UI you could define the dependency as follows.

```toml
[dependencies]
utoipa-swagger-ui = { version = "7", features = ["actix-web"] }
utoipa-swagger-ui = { version = "8", 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/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 = "5.0.0-rc.0"
version = "5.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -52,7 +52,7 @@ auto_into_responses = ["utoipa-gen?/auto_into_responses"]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
serde_yaml = { version = "0.9", optional = true }
utoipa-gen = { version = "5.0.0-rc.0", path = "../utoipa-gen", optional = true }
utoipa-gen = { version = "5.0.0", path = "../utoipa-gen", optional = true }
indexmap = { version = "2", features = ["serde"] }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions utoipa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@
//!
//! # Install
//!
//! Add minimal dependency declaration to Cargo.toml.
//! Add dependency declaration to Cargo.toml.
//! ```toml
//! [dependencies]
//! utoipa = "4"
//! utoipa = "5"
//! ```
//!
//! # Examples
Expand Down

0 comments on commit 1015cf2

Please sign in to comment.