Skip to content

Commit 1e3f6d0

Browse files
authored
Refresh rust-server Cargo.toml wiht updated dependencies and move jsonwebtoken to dev-deps (#22338)
1 parent 886e4a6 commit 1e3f6d0

File tree

8 files changed

+80
-80
lines changed

8 files changed

+80
-80
lines changed

modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ openssl = { version = "0.10", optional = true }
8383
async-trait = "0.1.88"
8484
chrono = { version = "0.4", features = ["serde"] }
8585
futures = "0.3"
86-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
86+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
8787
headers = "0.4.0"
8888
log = "0.4.27"
8989
mime = "0.3"
@@ -100,39 +100,39 @@ serde-xml-rs = "0.8"
100100
multipart = { version = "0.18", default-features = false, optional = true }
101101
{{/apiUsesMultipartFormData}}
102102
{{#apiUsesUuid}}
103-
uuid = { version = "1.17.0", features = ["serde", "v4"]}
103+
uuid = { version = "1.18.0", features = ["serde", "v4"]}
104104
{{/apiUsesUuid}}
105105

106106
# Common between server and client features
107107
bytes = "1.10.1"
108108
http-body-util = "0.1.3"
109109
hyper = { version = "1.6", features = ["full"], optional = true }
110-
hyper-util = { version = "0.1.12", features = ["service"] }
110+
hyper-util = { version = "0.1.17", features = ["service"] }
111111
{{#apiUsesMultipartRelated}}
112112
mime_multipart = { version = "0.10", optional = true, package = "mime-multipart-hyper1" }
113113
{{/apiUsesMultipartRelated}}
114-
serde_ignored = { version = "0.1.12", optional = true }
114+
serde_ignored = { version = "0.1.14", optional = true }
115115
url = { version = "2.5", optional = true }
116116

117117
# Client-specific
118118
{{#usesUrlEncodedForm}}
119-
serde_urlencoded = { version = "0.6.1", optional = true }
119+
serde_urlencoded = { version = "0.7.1", optional = true }
120120
{{/usesUrlEncodedForm}}
121121
tower-service = "0.3.3"
122122

123123
# Server, and client callback-specific
124124
lazy_static = { version = "1.5", optional = true }
125125
percent-encoding = { version = "2.3.1", optional = true }
126-
regex = { version = "1.11", optional = true }
126+
regex = { version = "1.12", optional = true }
127127

128128
# CLI-specific
129129
anyhow = { version = "1", optional = true }
130130
clap = { version = "4.5", features = ["env"], optional = true }
131131
clap-verbosity-flag = { version = "3.0", optional = true }
132132
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
133-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
133+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
134134
{{#apiHasDeleteMethods}}
135-
dialoguer = { version = "0.8", optional = true }
135+
dialoguer = { version = "0.12", optional = true }
136136
{{/apiHasDeleteMethods}}
137137

138138
# Conversion
@@ -142,17 +142,17 @@ frunk_core = { version = "0.4.3", optional = true }
142142
frunk-enum-derive = { version = "0.3.0", optional = true }
143143
frunk-enum-core = { version = "0.3.0", optional = true }
144144

145-
# Bearer authentication
146-
jsonwebtoken = { version = "9.3.1", optional = false }
147-
148145
[dev-dependencies]
149146
always_send = "0.1.1"
150147
clap = "4.5"
151148
env_logger = "0.11"
152-
tokio = { version = "1.45", features = ["full"] }
149+
tokio = { version = "1.48", features = ["full"] }
153150
native-tls = "0.2"
154151
pin-project = "1.1.10"
155152

153+
# Bearer authentication, used in examples
154+
jsonwebtoken = "9.3.1"
155+
156156
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
157157
tokio-openssl = "0.6"
158158
openssl = "0.10"

samples/server/petstore/rust-server/output/multipart-v3/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ openssl = { version = "0.10", optional = true }
3737
async-trait = "0.1.88"
3838
chrono = { version = "0.4", features = ["serde"] }
3939
futures = "0.3"
40-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
40+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
4141
headers = "0.4.0"
4242
log = "0.4.27"
4343
mime = "0.3"
@@ -53,9 +53,9 @@ multipart = { version = "0.18", default-features = false, optional = true }
5353
bytes = "1.10.1"
5454
http-body-util = "0.1.3"
5555
hyper = { version = "1.6", features = ["full"], optional = true }
56-
hyper-util = { version = "0.1.12", features = ["service"] }
56+
hyper-util = { version = "0.1.17", features = ["service"] }
5757
mime_multipart = { version = "0.10", optional = true, package = "mime-multipart-hyper1" }
58-
serde_ignored = { version = "0.1.12", optional = true }
58+
serde_ignored = { version = "0.1.14", optional = true }
5959
url = { version = "2.5", optional = true }
6060

6161
# Client-specific
@@ -64,14 +64,14 @@ tower-service = "0.3.3"
6464
# Server, and client callback-specific
6565
lazy_static = { version = "1.5", optional = true }
6666
percent-encoding = { version = "2.3.1", optional = true }
67-
regex = { version = "1.11", optional = true }
67+
regex = { version = "1.12", optional = true }
6868

6969
# CLI-specific
7070
anyhow = { version = "1", optional = true }
7171
clap = { version = "4.5", features = ["env"], optional = true }
7272
clap-verbosity-flag = { version = "3.0", optional = true }
7373
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
74-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
74+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
7575

7676
# Conversion
7777
frunk = { version = "0.4.3", optional = true }
@@ -80,17 +80,17 @@ frunk_core = { version = "0.4.3", optional = true }
8080
frunk-enum-derive = { version = "0.3.0", optional = true }
8181
frunk-enum-core = { version = "0.3.0", optional = true }
8282

83-
# Bearer authentication
84-
jsonwebtoken = { version = "9.3.1", optional = false }
85-
8683
[dev-dependencies]
8784
always_send = "0.1.1"
8885
clap = "4.5"
8986
env_logger = "0.11"
90-
tokio = { version = "1.45", features = ["full"] }
87+
tokio = { version = "1.48", features = ["full"] }
9188
native-tls = "0.2"
9289
pin-project = "1.1.10"
9390

91+
# Bearer authentication, used in examples
92+
jsonwebtoken = "9.3.1"
93+
9494
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
9595
tokio-openssl = "0.6"
9696
openssl = "0.10"

samples/server/petstore/rust-server/output/no-example-v3/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ openssl = { version = "0.10", optional = true }
3333
async-trait = "0.1.88"
3434
chrono = { version = "0.4", features = ["serde"] }
3535
futures = "0.3"
36-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
36+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
3737
headers = "0.4.0"
3838
log = "0.4.27"
3939
mime = "0.3"
@@ -48,8 +48,8 @@ validator = { version = "0.20", features = ["derive"] }
4848
bytes = "1.10.1"
4949
http-body-util = "0.1.3"
5050
hyper = { version = "1.6", features = ["full"], optional = true }
51-
hyper-util = { version = "0.1.12", features = ["service"] }
52-
serde_ignored = { version = "0.1.12", optional = true }
51+
hyper-util = { version = "0.1.17", features = ["service"] }
52+
serde_ignored = { version = "0.1.14", optional = true }
5353
url = { version = "2.5", optional = true }
5454

5555
# Client-specific
@@ -58,14 +58,14 @@ tower-service = "0.3.3"
5858
# Server, and client callback-specific
5959
lazy_static = { version = "1.5", optional = true }
6060
percent-encoding = { version = "2.3.1", optional = true }
61-
regex = { version = "1.11", optional = true }
61+
regex = { version = "1.12", optional = true }
6262

6363
# CLI-specific
6464
anyhow = { version = "1", optional = true }
6565
clap = { version = "4.5", features = ["env"], optional = true }
6666
clap-verbosity-flag = { version = "3.0", optional = true }
6767
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
68-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
68+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
6969

7070
# Conversion
7171
frunk = { version = "0.4.3", optional = true }
@@ -74,17 +74,17 @@ frunk_core = { version = "0.4.3", optional = true }
7474
frunk-enum-derive = { version = "0.3.0", optional = true }
7575
frunk-enum-core = { version = "0.3.0", optional = true }
7676

77-
# Bearer authentication
78-
jsonwebtoken = { version = "9.3.1", optional = false }
79-
8077
[dev-dependencies]
8178
always_send = "0.1.1"
8279
clap = "4.5"
8380
env_logger = "0.11"
84-
tokio = { version = "1.45", features = ["full"] }
81+
tokio = { version = "1.48", features = ["full"] }
8582
native-tls = "0.2"
8683
pin-project = "1.1.10"
8784

85+
# Bearer authentication, used in examples
86+
jsonwebtoken = "9.3.1"
87+
8888
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
8989
tokio-openssl = "0.6"
9090
openssl = "0.10"

samples/server/petstore/rust-server/output/openapi-v3/Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ openssl = { version = "0.10", optional = true }
3636
async-trait = "0.1.88"
3737
chrono = { version = "0.4", features = ["serde"] }
3838
futures = "0.3"
39-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
39+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
4040
headers = "0.4.0"
4141
log = "0.4.27"
4242
mime = "0.3"
@@ -47,31 +47,31 @@ validator = { version = "0.20", features = ["derive"] }
4747

4848
# Crates included if required by the API definition
4949
serde-xml-rs = "0.8"
50-
uuid = { version = "1.17.0", features = ["serde", "v4"]}
50+
uuid = { version = "1.18.0", features = ["serde", "v4"]}
5151

5252
# Common between server and client features
5353
bytes = "1.10.1"
5454
http-body-util = "0.1.3"
5555
hyper = { version = "1.6", features = ["full"], optional = true }
56-
hyper-util = { version = "0.1.12", features = ["service"] }
57-
serde_ignored = { version = "0.1.12", optional = true }
56+
hyper-util = { version = "0.1.17", features = ["service"] }
57+
serde_ignored = { version = "0.1.14", optional = true }
5858
url = { version = "2.5", optional = true }
5959

6060
# Client-specific
61-
serde_urlencoded = { version = "0.6.1", optional = true }
61+
serde_urlencoded = { version = "0.7.1", optional = true }
6262
tower-service = "0.3.3"
6363

6464
# Server, and client callback-specific
6565
lazy_static = { version = "1.5", optional = true }
6666
percent-encoding = { version = "2.3.1", optional = true }
67-
regex = { version = "1.11", optional = true }
67+
regex = { version = "1.12", optional = true }
6868

6969
# CLI-specific
7070
anyhow = { version = "1", optional = true }
7171
clap = { version = "4.5", features = ["env"], optional = true }
7272
clap-verbosity-flag = { version = "3.0", optional = true }
7373
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
74-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
74+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
7575

7676
# Conversion
7777
frunk = { version = "0.4.3", optional = true }
@@ -80,17 +80,17 @@ frunk_core = { version = "0.4.3", optional = true }
8080
frunk-enum-derive = { version = "0.3.0", optional = true }
8181
frunk-enum-core = { version = "0.3.0", optional = true }
8282

83-
# Bearer authentication
84-
jsonwebtoken = { version = "9.3.1", optional = false }
85-
8683
[dev-dependencies]
8784
always_send = "0.1.1"
8885
clap = "4.5"
8986
env_logger = "0.11"
90-
tokio = { version = "1.45", features = ["full"] }
87+
tokio = { version = "1.48", features = ["full"] }
9188
native-tls = "0.2"
9289
pin-project = "1.1.10"
9390

91+
# Bearer authentication, used in examples
92+
jsonwebtoken = "9.3.1"
93+
9494
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
9595
tokio-openssl = "0.6"
9696
openssl = "0.10"

samples/server/petstore/rust-server/output/ops-v3/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ openssl = { version = "0.10", optional = true }
3333
async-trait = "0.1.88"
3434
chrono = { version = "0.4", features = ["serde"] }
3535
futures = "0.3"
36-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
36+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
3737
headers = "0.4.0"
3838
log = "0.4.27"
3939
mime = "0.3"
@@ -48,8 +48,8 @@ validator = { version = "0.20", features = ["derive"] }
4848
bytes = "1.10.1"
4949
http-body-util = "0.1.3"
5050
hyper = { version = "1.6", features = ["full"], optional = true }
51-
hyper-util = { version = "0.1.12", features = ["service"] }
52-
serde_ignored = { version = "0.1.12", optional = true }
51+
hyper-util = { version = "0.1.17", features = ["service"] }
52+
serde_ignored = { version = "0.1.14", optional = true }
5353
url = { version = "2.5", optional = true }
5454

5555
# Client-specific
@@ -58,14 +58,14 @@ tower-service = "0.3.3"
5858
# Server, and client callback-specific
5959
lazy_static = { version = "1.5", optional = true }
6060
percent-encoding = { version = "2.3.1", optional = true }
61-
regex = { version = "1.11", optional = true }
61+
regex = { version = "1.12", optional = true }
6262

6363
# CLI-specific
6464
anyhow = { version = "1", optional = true }
6565
clap = { version = "4.5", features = ["env"], optional = true }
6666
clap-verbosity-flag = { version = "3.0", optional = true }
6767
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
68-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
68+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
6969

7070
# Conversion
7171
frunk = { version = "0.4.3", optional = true }
@@ -74,17 +74,17 @@ frunk_core = { version = "0.4.3", optional = true }
7474
frunk-enum-derive = { version = "0.3.0", optional = true }
7575
frunk-enum-core = { version = "0.3.0", optional = true }
7676

77-
# Bearer authentication
78-
jsonwebtoken = { version = "9.3.1", optional = false }
79-
8077
[dev-dependencies]
8178
always_send = "0.1.1"
8279
clap = "4.5"
8380
env_logger = "0.11"
84-
tokio = { version = "1.45", features = ["full"] }
81+
tokio = { version = "1.48", features = ["full"] }
8582
native-tls = "0.2"
8683
pin-project = "1.1.10"
8784

85+
# Bearer authentication, used in examples
86+
jsonwebtoken = "9.3.1"
87+
8888
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
8989
tokio-openssl = "0.6"
9090
openssl = "0.10"

samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ openssl = { version = "0.10", optional = true }
3737
async-trait = "0.1.88"
3838
chrono = { version = "0.4", features = ["serde"] }
3939
futures = "0.3"
40-
swagger = { version = "7.0.0-rc2", features = ["serdejson", "server", "client", "tls"] }
40+
swagger = { version = "7.0.0-rc3", features = ["serdejson", "server", "client", "tls"] }
4141
headers = "0.4.0"
4242
log = "0.4.27"
4343
mime = "0.3"
@@ -49,32 +49,32 @@ validator = { version = "0.20", features = ["derive"] }
4949
# Crates included if required by the API definition
5050
serde-xml-rs = "0.8"
5151
multipart = { version = "0.18", default-features = false, optional = true }
52-
uuid = { version = "1.17.0", features = ["serde", "v4"]}
52+
uuid = { version = "1.18.0", features = ["serde", "v4"]}
5353

5454
# Common between server and client features
5555
bytes = "1.10.1"
5656
http-body-util = "0.1.3"
5757
hyper = { version = "1.6", features = ["full"], optional = true }
58-
hyper-util = { version = "0.1.12", features = ["service"] }
59-
serde_ignored = { version = "0.1.12", optional = true }
58+
hyper-util = { version = "0.1.17", features = ["service"] }
59+
serde_ignored = { version = "0.1.14", optional = true }
6060
url = { version = "2.5", optional = true }
6161

6262
# Client-specific
63-
serde_urlencoded = { version = "0.6.1", optional = true }
63+
serde_urlencoded = { version = "0.7.1", optional = true }
6464
tower-service = "0.3.3"
6565

6666
# Server, and client callback-specific
6767
lazy_static = { version = "1.5", optional = true }
6868
percent-encoding = { version = "2.3.1", optional = true }
69-
regex = { version = "1.11", optional = true }
69+
regex = { version = "1.12", optional = true }
7070

7171
# CLI-specific
7272
anyhow = { version = "1", optional = true }
7373
clap = { version = "4.5", features = ["env"], optional = true }
7474
clap-verbosity-flag = { version = "3.0", optional = true }
7575
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
76-
tokio = { version = "1.45", features = ["rt-multi-thread", "macros"], optional = true }
77-
dialoguer = { version = "0.8", optional = true }
76+
tokio = { version = "1.48", features = ["rt-multi-thread", "macros"], optional = true }
77+
dialoguer = { version = "0.12", optional = true }
7878

7979
# Conversion
8080
frunk = { version = "0.4.3", optional = true }
@@ -83,17 +83,17 @@ frunk_core = { version = "0.4.3", optional = true }
8383
frunk-enum-derive = { version = "0.3.0", optional = true }
8484
frunk-enum-core = { version = "0.3.0", optional = true }
8585

86-
# Bearer authentication
87-
jsonwebtoken = { version = "9.3.1", optional = false }
88-
8986
[dev-dependencies]
9087
always_send = "0.1.1"
9188
clap = "4.5"
9289
env_logger = "0.11"
93-
tokio = { version = "1.45", features = ["full"] }
90+
tokio = { version = "1.48", features = ["full"] }
9491
native-tls = "0.2"
9592
pin-project = "1.1.10"
9693

94+
# Bearer authentication, used in examples
95+
jsonwebtoken = "9.3.1"
96+
9797
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
9898
tokio-openssl = "0.6"
9999
openssl = "0.10"

0 commit comments

Comments
 (0)