Skip to content

Commit 9342b99

Browse files
committed
Update rust-server Cargo.toml dependencies
1 parent 03c13fb commit 9342b99

8 files changed

Lines changed: 123 additions & 123 deletions

File tree

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ validate = [{{^apiUsesByteArray}}"regex",{{/apiUsesByteArray}} "serde_valid", "s
8888

8989
[dependencies]
9090
# Common
91-
async-trait = "0.1.88"
91+
async-trait = "0.1.89"
9292
chrono = { version = "0.4", features = ["serde"] }
9393
futures = "0.3"
9494
swagger = { version = "7.0.0", features = ["serdejson", "server", "client"] }
95-
headers = "0.4.0"
96-
log = "0.4.27"
95+
headers = "0.4.1"
96+
log = "0.4.29"
9797

9898
mime = "0.3"
9999
mockall = { version = "0.14", optional = true }
@@ -120,14 +120,14 @@ serde-xml-rs = "0.8"
120120
multipart = { version = "0.18", default-features = false, optional = true }
121121
{{/apiUsesMultipartFormData}}
122122
{{#apiUsesUuid}}
123-
uuid = { version = "1.18.0", features = ["serde", "v4"]}
123+
uuid = { version = "1.23.0", features = ["serde", "v4"]}
124124
{{/apiUsesUuid}}
125125

126126
# Common between server and client features
127127
bytes = "1.11"
128128
http-body-util = "0.1.3"
129-
hyper = { version = "1.8", features = ["full"], optional = true }
130-
hyper-util = { version = "0.1.18", features = ["service"] }
129+
hyper = { version = "1.9.0", features = ["full"], optional = true }
130+
hyper-util = { version = "0.1.20", features = ["service"] }
131131
{{#apiUsesMultipartRelated}}
132132
mime_multipart = { version = "0.10", optional = true, package = "mime-multipart-hyper1" }
133133
{{/apiUsesMultipartRelated}}
@@ -149,18 +149,18 @@ percent-encoding = { version = "2.3.2", optional = true }
149149

150150
# CLI-specific
151151
anyhow = { version = "1", optional = true }
152-
clap = { version = "4.5", features = ["env"], optional = true }
152+
clap = { version = "4.6.0", features = ["env"], optional = true }
153153
clap-verbosity-flag = { version = "3.0", optional = true }
154-
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
155-
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }
154+
simple_logger = { version = "5.2.0", features = ["stderr"], optional = true }
155+
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros"], optional = true }
156156
{{#apiHasDeleteMethods}}
157157
dialoguer = { version = "0.12", optional = true }
158158
{{/apiHasDeleteMethods}}
159159

160160
# Conversion
161-
frunk = { version = "0.4.3", optional = true }
162-
frunk_derives = { version = "0.4.3", optional = true }
163-
frunk_core = { version = "0.4.3", optional = true }
161+
frunk = { version = "0.4.4", optional = true }
162+
frunk_derives = { version = "0.4.4", optional = true }
163+
frunk_core = { version = "0.4.4", optional = true }
164164
frunk-enum-derive = { version = "0.3.0", optional = true }
165165
frunk-enum-core = { version = "0.3.0", optional = true }
166166

@@ -177,14 +177,14 @@ hyper-openssl = { version = "0.10", optional = true }
177177

178178
[dev-dependencies]
179179
always_send = "0.1.1"
180-
clap = "4.5"
180+
clap = "4.6.0"
181181
env_logger = "0.11"
182-
tokio = { version = "1.49", features = ["full"] }
182+
tokio = { version = "1.50.0", features = ["full"] }
183183
native-tls = "0.2"
184-
pin-project = "1.1.10"
184+
pin-project = "1.1.11"
185185

186186
# Bearer authentication, used in examples
187-
jsonwebtoken = {version = "10.0.0", features = ["rust_crypto"]}
187+
jsonwebtoken = {version = "10.3.0", features = ["rust_crypto"]}
188188

189189
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
190190
openssl = "0.10"

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ validate = [ "serde_valid", "swagger/serdevalid"]
4242

4343
[dependencies]
4444
# Common
45-
async-trait = "0.1.88"
45+
async-trait = "0.1.89"
4646
chrono = { version = "0.4", features = ["serde"] }
4747
futures = "0.3"
4848
swagger = { version = "7.0.0", features = ["serdejson", "server", "client"] }
49-
headers = "0.4.0"
50-
log = "0.4.27"
49+
headers = "0.4.1"
50+
log = "0.4.29"
5151

5252
mime = "0.3"
5353
mockall = { version = "0.14", optional = true }
@@ -67,8 +67,8 @@ multipart = { version = "0.18", default-features = false, optional = true }
6767
# Common between server and client features
6868
bytes = "1.11"
6969
http-body-util = "0.1.3"
70-
hyper = { version = "1.8", features = ["full"], optional = true }
71-
hyper-util = { version = "0.1.18", features = ["service"] }
70+
hyper = { version = "1.9.0", features = ["full"], optional = true }
71+
hyper-util = { version = "0.1.20", features = ["service"] }
7272
mime_multipart = { version = "0.10", optional = true, package = "mime-multipart-hyper1" }
7373
serde_ignored = { version = "0.1.14", optional = true }
7474
url = { version = "2.5", optional = true }
@@ -81,15 +81,15 @@ percent-encoding = { version = "2.3.2", optional = true }
8181

8282
# CLI-specific
8383
anyhow = { version = "1", optional = true }
84-
clap = { version = "4.5", features = ["env"], optional = true }
84+
clap = { version = "4.6.0", features = ["env"], optional = true }
8585
clap-verbosity-flag = { version = "3.0", optional = true }
86-
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
87-
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }
86+
simple_logger = { version = "5.2.0", features = ["stderr"], optional = true }
87+
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros"], optional = true }
8888

8989
# Conversion
90-
frunk = { version = "0.4.3", optional = true }
91-
frunk_derives = { version = "0.4.3", optional = true }
92-
frunk_core = { version = "0.4.3", optional = true }
90+
frunk = { version = "0.4.4", optional = true }
91+
frunk_derives = { version = "0.4.4", optional = true }
92+
frunk_core = { version = "0.4.4", optional = true }
9393
frunk-enum-derive = { version = "0.3.0", optional = true }
9494
frunk-enum-core = { version = "0.3.0", optional = true }
9595

@@ -106,14 +106,14 @@ hyper-openssl = { version = "0.10", optional = true }
106106

107107
[dev-dependencies]
108108
always_send = "0.1.1"
109-
clap = "4.5"
109+
clap = "4.6.0"
110110
env_logger = "0.11"
111-
tokio = { version = "1.49", features = ["full"] }
111+
tokio = { version = "1.50.0", features = ["full"] }
112112
native-tls = "0.2"
113-
pin-project = "1.1.10"
113+
pin-project = "1.1.11"
114114

115115
# Bearer authentication, used in examples
116-
jsonwebtoken = {version = "10.0.0", features = ["rust_crypto"]}
116+
jsonwebtoken = {version = "10.3.0", features = ["rust_crypto"]}
117117

118118
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
119119
openssl = "0.10"

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ validate = ["regex", "serde_valid", "swagger/serdevalid"]
3838

3939
[dependencies]
4040
# Common
41-
async-trait = "0.1.88"
41+
async-trait = "0.1.89"
4242
chrono = { version = "0.4", features = ["serde"] }
4343
futures = "0.3"
4444
swagger = { version = "7.0.0", features = ["serdejson", "server", "client"] }
45-
headers = "0.4.0"
46-
log = "0.4.27"
45+
headers = "0.4.1"
46+
log = "0.4.29"
4747

4848
mime = "0.3"
4949
mockall = { version = "0.14", optional = true }
@@ -60,8 +60,8 @@ validator = { version = "0.20", features = ["derive"] }
6060
# Common between server and client features
6161
bytes = "1.11"
6262
http-body-util = "0.1.3"
63-
hyper = { version = "1.8", features = ["full"], optional = true }
64-
hyper-util = { version = "0.1.18", features = ["service"] }
63+
hyper = { version = "1.9.0", features = ["full"], optional = true }
64+
hyper-util = { version = "0.1.20", features = ["service"] }
6565
serde_ignored = { version = "0.1.14", optional = true }
6666
url = { version = "2.5", optional = true }
6767

@@ -75,15 +75,15 @@ percent-encoding = { version = "2.3.2", optional = true }
7575

7676
# CLI-specific
7777
anyhow = { version = "1", optional = true }
78-
clap = { version = "4.5", features = ["env"], optional = true }
78+
clap = { version = "4.6.0", features = ["env"], optional = true }
7979
clap-verbosity-flag = { version = "3.0", optional = true }
80-
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
81-
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }
80+
simple_logger = { version = "5.2.0", features = ["stderr"], optional = true }
81+
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros"], optional = true }
8282

8383
# Conversion
84-
frunk = { version = "0.4.3", optional = true }
85-
frunk_derives = { version = "0.4.3", optional = true }
86-
frunk_core = { version = "0.4.3", optional = true }
84+
frunk = { version = "0.4.4", optional = true }
85+
frunk_derives = { version = "0.4.4", optional = true }
86+
frunk_core = { version = "0.4.4", optional = true }
8787
frunk-enum-derive = { version = "0.3.0", optional = true }
8888
frunk-enum-core = { version = "0.3.0", optional = true }
8989

@@ -100,14 +100,14 @@ hyper-openssl = { version = "0.10", optional = true }
100100

101101
[dev-dependencies]
102102
always_send = "0.1.1"
103-
clap = "4.5"
103+
clap = "4.6.0"
104104
env_logger = "0.11"
105-
tokio = { version = "1.49", features = ["full"] }
105+
tokio = { version = "1.50.0", features = ["full"] }
106106
native-tls = "0.2"
107-
pin-project = "1.1.10"
107+
pin-project = "1.1.11"
108108

109109
# Bearer authentication, used in examples
110-
jsonwebtoken = {version = "10.0.0", features = ["rust_crypto"]}
110+
jsonwebtoken = {version = "10.3.0", features = ["rust_crypto"]}
111111

112112
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
113113
openssl = "0.10"

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ validate = [ "serde_valid", "swagger/serdevalid"]
4141

4242
[dependencies]
4343
# Common
44-
async-trait = "0.1.88"
44+
async-trait = "0.1.89"
4545
chrono = { version = "0.4", features = ["serde"] }
4646
futures = "0.3"
4747
swagger = { version = "7.0.0", features = ["serdejson", "server", "client"] }
48-
headers = "0.4.0"
49-
log = "0.4.27"
48+
headers = "0.4.1"
49+
log = "0.4.29"
5050

5151
mime = "0.3"
5252
mockall = { version = "0.14", optional = true }
@@ -62,13 +62,13 @@ validator = { version = "0.20", features = ["derive"] }
6262

6363
# Crates included if required by the API definition
6464
serde-xml-rs = "0.8"
65-
uuid = { version = "1.18.0", features = ["serde", "v4"]}
65+
uuid = { version = "1.23.0", features = ["serde", "v4"]}
6666

6767
# Common between server and client features
6868
bytes = "1.11"
6969
http-body-util = "0.1.3"
70-
hyper = { version = "1.8", features = ["full"], optional = true }
71-
hyper-util = { version = "0.1.18", features = ["service"] }
70+
hyper = { version = "1.9.0", features = ["full"], optional = true }
71+
hyper-util = { version = "0.1.20", features = ["service"] }
7272
serde_ignored = { version = "0.1.14", optional = true }
7373
url = { version = "2.5", optional = true }
7474

@@ -81,15 +81,15 @@ percent-encoding = { version = "2.3.2", optional = true }
8181

8282
# CLI-specific
8383
anyhow = { version = "1", optional = true }
84-
clap = { version = "4.5", features = ["env"], optional = true }
84+
clap = { version = "4.6.0", features = ["env"], optional = true }
8585
clap-verbosity-flag = { version = "3.0", optional = true }
86-
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
87-
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }
86+
simple_logger = { version = "5.2.0", features = ["stderr"], optional = true }
87+
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros"], optional = true }
8888

8989
# Conversion
90-
frunk = { version = "0.4.3", optional = true }
91-
frunk_derives = { version = "0.4.3", optional = true }
92-
frunk_core = { version = "0.4.3", optional = true }
90+
frunk = { version = "0.4.4", optional = true }
91+
frunk_derives = { version = "0.4.4", optional = true }
92+
frunk_core = { version = "0.4.4", optional = true }
9393
frunk-enum-derive = { version = "0.3.0", optional = true }
9494
frunk-enum-core = { version = "0.3.0", optional = true }
9595

@@ -106,14 +106,14 @@ hyper-openssl = { version = "0.10", optional = true }
106106

107107
[dev-dependencies]
108108
always_send = "0.1.1"
109-
clap = "4.5"
109+
clap = "4.6.0"
110110
env_logger = "0.11"
111-
tokio = { version = "1.49", features = ["full"] }
111+
tokio = { version = "1.50.0", features = ["full"] }
112112
native-tls = "0.2"
113-
pin-project = "1.1.10"
113+
pin-project = "1.1.11"
114114

115115
# Bearer authentication, used in examples
116-
jsonwebtoken = {version = "10.0.0", features = ["rust_crypto"]}
116+
jsonwebtoken = {version = "10.3.0", features = ["rust_crypto"]}
117117

118118
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
119119
openssl = "0.10"

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ validate = ["regex", "serde_valid", "swagger/serdevalid"]
3838

3939
[dependencies]
4040
# Common
41-
async-trait = "0.1.88"
41+
async-trait = "0.1.89"
4242
chrono = { version = "0.4", features = ["serde"] }
4343
futures = "0.3"
4444
swagger = { version = "7.0.0", features = ["serdejson", "server", "client"] }
45-
headers = "0.4.0"
46-
log = "0.4.27"
45+
headers = "0.4.1"
46+
log = "0.4.29"
4747

4848
mime = "0.3"
4949
mockall = { version = "0.14", optional = true }
@@ -60,8 +60,8 @@ validator = { version = "0.20", features = ["derive"] }
6060
# Common between server and client features
6161
bytes = "1.11"
6262
http-body-util = "0.1.3"
63-
hyper = { version = "1.8", features = ["full"], optional = true }
64-
hyper-util = { version = "0.1.18", features = ["service"] }
63+
hyper = { version = "1.9.0", features = ["full"], optional = true }
64+
hyper-util = { version = "0.1.20", features = ["service"] }
6565
serde_ignored = { version = "0.1.14", optional = true }
6666
url = { version = "2.5", optional = true }
6767

@@ -75,15 +75,15 @@ percent-encoding = { version = "2.3.2", optional = true }
7575

7676
# CLI-specific
7777
anyhow = { version = "1", optional = true }
78-
clap = { version = "4.5", features = ["env"], optional = true }
78+
clap = { version = "4.6.0", features = ["env"], optional = true }
7979
clap-verbosity-flag = { version = "3.0", optional = true }
80-
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
81-
tokio = { version = "1.49", features = ["rt-multi-thread", "macros"], optional = true }
80+
simple_logger = { version = "5.2.0", features = ["stderr"], optional = true }
81+
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros"], optional = true }
8282

8383
# Conversion
84-
frunk = { version = "0.4.3", optional = true }
85-
frunk_derives = { version = "0.4.3", optional = true }
86-
frunk_core = { version = "0.4.3", optional = true }
84+
frunk = { version = "0.4.4", optional = true }
85+
frunk_derives = { version = "0.4.4", optional = true }
86+
frunk_core = { version = "0.4.4", optional = true }
8787
frunk-enum-derive = { version = "0.3.0", optional = true }
8888
frunk-enum-core = { version = "0.3.0", optional = true }
8989

@@ -100,14 +100,14 @@ hyper-openssl = { version = "0.10", optional = true }
100100

101101
[dev-dependencies]
102102
always_send = "0.1.1"
103-
clap = "4.5"
103+
clap = "4.6.0"
104104
env_logger = "0.11"
105-
tokio = { version = "1.49", features = ["full"] }
105+
tokio = { version = "1.50.0", features = ["full"] }
106106
native-tls = "0.2"
107-
pin-project = "1.1.10"
107+
pin-project = "1.1.11"
108108

109109
# Bearer authentication, used in examples
110-
jsonwebtoken = {version = "10.0.0", features = ["rust_crypto"]}
110+
jsonwebtoken = {version = "10.3.0", features = ["rust_crypto"]}
111111

112112
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dev-dependencies]
113113
openssl = "0.10"

0 commit comments

Comments
 (0)