Skip to content

Commit c31992c

Browse files
committed
unify cargo.tomls
1 parent 44b21b5 commit c31992c

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
resolver = "2"
33
members = ["oasgen", "core", "macro", "swagger-ui"]
44

5+
[workspace.package]
6+
version = "0.25.1"
7+
edition = "2024"
58

69
[workspace.dependencies]
710
oasgen = { path = "oasgen", version = "0.25" }
811
oasgen-core = { path = "core", version = "0.25" }
912
oasgen-macro = { path = "macro", version = "0.25" }
1013
swagger-ui2 = { version = "0.6", path = "swagger-ui" }
11-
14+
openapiv3-extended = { version = "6.0.1" }

core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "oasgen-core"
3-
version = "0.25.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55
authors = ["Kurt Wolf <kurtwolfbuilds@gmail.com>"]
66
description = "Dependency of oasgen. Generates OpenAPI 3.0 spec based on Rust code. Works with actix-web, but architected to easily extend to other frameworks (or no framework)."
77
license = "MIT"
@@ -13,7 +13,7 @@ documentation = "https://docs.rs/oasgen"
1313

1414
[dependencies]
1515
inventory = "0.3.13"
16-
openapiv3-extended = { version = "6" }
16+
openapiv3-extended.workspace = true
1717
serde_json = "1.0.100"
1818
actix-web = { version = "4.3.1", optional = true }
1919
axum = { version = "0.8.1", optional = true }
@@ -25,7 +25,7 @@ sqlx = { version = "0.8.2", optional = true }
2525
sqlx-core = { version = "0.8.2", optional = true }
2626
tower-cookies = { version = "0.11.0", optional = true }
2727
kurtbuilds_sid = { version = "0.7", optional = true }
28-
serde_qs = { version = "0.14.0", optional = true }
28+
serde_qs = { version = "0.15.0", optional = true }
2929
bigdecimal = { version = "0.4.2", optional = true }
3030
http = "1.2.0"
3131

macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "oasgen-macro"
3-
version = "0.25.1"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55
authors = ["Kurt Wolf <kurtwolfbuilds@gmail.com>"]
66
description = "Dependency of oasgen. Generates OpenAPI 3.0 spec based on Rust code. Works with actix-web, but architected to easily extend to other frameworks (or no framework)."
77
license = "MIT"

oasgen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "oasgen"
3-
version = "0.25.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55
authors = ["Kurt Wolf <kurtwolfbuilds@gmail.com>"]
66
description = "Generates OpenAPI 3.0 spec based on Rust code. Works with axum, actix-web, or independent of a web framework."
77
license = "MIT"

0 commit comments

Comments
 (0)