Skip to content

Commit

Permalink
Release 1.0.0-pre-release.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Jun 29, 2024
1 parent 1f28274 commit 1c57099
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ documentation = "https://docs.rs/apistos/"
license = "MIT OR Apache-2.0"
rust-version = "1.75"
publish = true
version = "1.0.0-pre-release.1"
version = "1.0.0-pre-release.2"

[workspace.dependencies]
actix-service = "2"
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ carpenters, craftsmen, metallurgy ... which can also be considered by some as th
#schemars = "0.8"
# sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
schemars = { package = "apistos-schemars", version = "1.0.0-alpha.2" }
apistos = "1.0.0-pre-release.1"
apistos = "1.0.0-pre-release.2"
```

### Usage example
Expand Down Expand Up @@ -148,19 +148,19 @@ async fn main() -> Result<(), impl Error> {
};

App::new()
.document(spec)
.wrap(Logger::default())
.service(scope("/test")
.service(
resource("")
.route(post().to(test))
.document(spec)
.wrap(Logger::default())
.service(scope("/test")
.service(
resource("")
.route(post().to(test))
)
)
)
.build("/openapi.json")
.build("/openapi.json")
})
.bind((Ipv4Addr::UNSPECIFIED, 8080))?
.run()
.await
.bind((Ipv4Addr::UNSPECIFIED, 8080))?
.run()
.await
}
```

Expand All @@ -179,7 +179,7 @@ For a complete example, see [the sample petstore](https://github.com/netwo-io/ap
| `swagger-ui` | Enables Swagger UI to expose the generated openapi file | |
| `qs_query` | Enables documenting types from `serde_qs` | [`serde_qs`](https://crates.io/crates/serde-qs) |
| `chrono` | Enables documenting types from `chrono` | [`chrono`](https://crates.io/crates/chrono) |
| `ipnetwork` | Enables documenting types from `ipnetwork` | [`ipnetwork`](https://crates.io/crates/ipnetwork) |
| `ipnetwork` | Enables documenting types from `ipnetwork` | [`ipnetwork`](https://crates.io/crates/ipnetwork) |
| `multipart` | Enables documenting types from `actix-multipart` | [`actix-multipart`](https://crates.io/crates/actix-multipart) |
| `rust_decimal` | Enables documenting types from `rust_decimal` | [`rust_decimal`](https://crates.io/crates/rust-decimal) |
| `uuid` | Enables documenting types from `uuid` | [`uuid`](https://crates.io/crates/uuid) |
Expand Down
2 changes: 1 addition & 1 deletion apistos-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ serde_qs = { workspace = true, features = ["actix4"], optional = true }
uuid = { workspace = true, optional = true }
url = { workspace = true, optional = true }

apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.1", features = ["deserialize"] }
apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.2", features = ["deserialize"] }

[dev-dependencies]
assert-json-diff = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions apistos-gen-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ assert-json-diff = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
futures-core = { workspace = true }
apistos = { path = "../apistos", features = ["multipart", "uuid"] }
apistos-core = { path = "../apistos-core", version = "1.0.0-pre-release.1" }
apistos-gen = { path = "../apistos-gen", version = "1.0.0-pre-release.1" }
apistos-core = { path = "../apistos-core", version = "1.0.0-pre-release.2" }
apistos-gen = { path = "../apistos-gen", version = "1.0.0-pre-release.2" }
# we use the "preserve_order" feature from schemars here following https://github.com/netwo-io/apistos/pull/78
schemars = { workspace = true, features = ["preserve_order"] }
serde = { version = "1.0.188", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion apistos-rapidoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.1" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-redoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.1" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-scalar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.1" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actix-web = { workspace = true }
num_cpus = { workspace = true }
shuttle-runtime = { workspace = true }

apistos = { path = "../apistos", version = "1.0.0-pre-release.1" }
apistos = { path = "../apistos", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-swagger-ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
license.workspace = true

[dependencies]
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.1" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
26 changes: 13 additions & 13 deletions apistos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ regex = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

apistos-core = { path = "../apistos-core", version = "1.0.0-pre-release.1" }
apistos-gen = { path = "../apistos-gen", version = "1.0.0-pre-release.1" }
apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.1" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.1" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "1.0.0-pre-release.1", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "1.0.0-pre-release.1", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "1.0.0-pre-release.1", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "1.0.0-pre-release.1", optional = true }
apistos-core = { path = "../apistos-core", version = "1.0.0-pre-release.2" }
apistos-gen = { path = "../apistos-gen", version = "1.0.0-pre-release.2" }
apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.2" }
apistos-plugins = { path = "../apistos-plugins", version = "1.0.0-pre-release.2" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "1.0.0-pre-release.2", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "1.0.0-pre-release.2", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "1.0.0-pre-release.2", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "1.0.0-pre-release.2", optional = true }

[dev-dependencies]
actix-web-lab = { workspace = true }
garde-actix-web = { workspace = true }
schemars = { workspace = true }

apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.1", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "1.0.0-pre-release.1" }
apistos-redoc = { path = "../apistos-redoc", version = "1.0.0-pre-release.1" }
apistos-scalar = { path = "../apistos-scalar", version = "1.0.0-pre-release.1" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "1.0.0-pre-release.1" }
apistos-models = { path = "../apistos-models", version = "1.0.0-pre-release.2", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "1.0.0-pre-release.2" }
apistos-redoc = { path = "../apistos-redoc", version = "1.0.0-pre-release.2" }
apistos-scalar = { path = "../apistos-scalar", version = "1.0.0-pre-release.2" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "1.0.0-pre-release.2" }

[lints]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion apistos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! #schemars = "0.8"
//! # sadly we currently rely on a fork to fix multiple flatten for enums, related PR can be found here: https://github.com/GREsau/schemars/pull/264
//! schemars = { package = "apistos-schemars", version = "1.0.0-alpha.2" }
//! apistos = "1.0.0-pre-release.1"
//! apistos = "1.0.0-pre-release.2"
//! ```
//!
//! # Usage example
Expand Down

0 comments on commit 1c57099

Please sign in to comment.