Skip to content

Commit

Permalink
Release apistos 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Jul 5, 2024
1 parent 2ce1abc commit d81b889
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 31 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 = "0.2.6"
version = "0.3.0"

[workspace.dependencies]
actix-service = "2"
Expand Down
2 changes: 1 addition & 1 deletion 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 = "0.8" }
apistos = "0.2"
apistos = "0.3"
```

### Usage example
Expand Down
2 changes: 1 addition & 1 deletion apistos-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 = "0.2.6", features = ["deserialize"] }
apistos-models = { path = "../apistos-models", version = "0.3.0", 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 = "0.2.6" }
apistos-gen = { path = "../apistos-gen", version = "0.2.6" }
apistos-core = { path = "../apistos-core", version = "0.3.0" }
apistos-gen = { path = "../apistos-gen", version = "0.3.0" }
# 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-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These models are not linked to any web framework.
#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 = "0.8" }
apistos-models = "0.2"
apistos-models = "0.3"
```

### About us
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 = "0.2.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-rapidoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `rapidoc` feature.
#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 = "0.8" }
apistos = { version = "0.2", feature = ["rapidoc"] }
apistos = { version = "0.3", feature = ["rapidoc"] }
```

### About us
Expand Down
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 = "0.2.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-redoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `redoc` feature.
#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 = "0.8" }
apistos = { version = "0.2", feature = ["redoc"] }
apistos = { version = "0.3", feature = ["redoc"] }
```

### About us
Expand Down
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 = "0.2.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-scalar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `scalar` feature.
#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 = "0.8" }
apistos = { version = "0.2", feature = ["scalar"] }
apistos = { version = "0.3", feature = ["scalar"] }
```

### About us
Expand Down
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 = "0.2.6" }
apistos = { path = "../apistos", version = "0.3.0" }

[lints]
workspace = true
4 changes: 2 additions & 2 deletions apistos-shuttle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ This crate allows you to run an actix-web server documented with Apistos on [Shu
#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 = "0.8" }
apistos = { version = "0.2" }
apistos-shuttle = { version = "0.2" }
apistos = { version = "0.3" }
apistos-shuttle = { version = "0.3" }
```

### Example
Expand Down
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 = "0.2.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.0" }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion apistos-swagger-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This crate is exposed through Apistos `swagger-ui` feature.
#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 = "0.8" }
apistos = { version = "0.2", feature = ["swagger-ui"] }
apistos = { version = "0.3", feature = ["swagger-ui"] }
```

### About us
Expand Down
26 changes: 13 additions & 13 deletions apistos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ schemars = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

apistos-core = { path = "../apistos-core", version = "0.2.6" }
apistos-gen = { path = "../apistos-gen", version = "0.2.6" }
apistos-models = { path = "../apistos-models", version = "0.2.6" }
apistos-plugins = { path = "../apistos-plugins", version = "0.2.6" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.2.6", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "0.2.6", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "0.2.6", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.2.6", optional = true }
apistos-core = { path = "../apistos-core", version = "0.3.0" }
apistos-gen = { path = "../apistos-gen", version = "0.3.0" }
apistos-models = { path = "../apistos-models", version = "0.3.0" }
apistos-plugins = { path = "../apistos-plugins", version = "0.3.0" }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.3.0", optional = true }
apistos-redoc = { path = "../apistos-redoc", version = "0.3.0", optional = true }
apistos-scalar = { path = "../apistos-scalar", version = "0.3.0", optional = true }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.3.0", optional = true }


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

apistos-models = { path = "../apistos-models", version = "0.2.6", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.2.6" }
apistos-redoc = { path = "../apistos-redoc", version = "0.2.6" }
apistos-scalar = { path = "../apistos-scalar", version = "0.2.6" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.2.6" }
apistos-models = { path = "../apistos-models", version = "0.3.0", features = ["deserialize"] }
apistos-rapidoc = { path = "../apistos-rapidoc", version = "0.3.0" }
apistos-redoc = { path = "../apistos-redoc", version = "0.3.0" }
apistos-scalar = { path = "../apistos-scalar", version = "0.3.0" }
apistos-swagger-ui = { path = "../apistos-swagger-ui", version = "0.3.0" }

[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 = "0.8" }
//! apistos = "0.2"
//! apistos = "0.3"
//! ```
//!
//! # Usage example
Expand Down

0 comments on commit d81b889

Please sign in to comment.