Skip to content

Commit 4f37ffc

Browse files
azriel-healthpointdsteeley
authored andcommitted
[Rust Server] Update dependency versions in Cargo.mustache (OpenAPITools#17876)
1 parent 6b296ae commit 4f37ffc

File tree

1 file changed

+22
-22
lines changed
  • modules/openapi-generator/src/main/resources/rust-server

1 file changed

+22
-22
lines changed

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,24 @@ conversion = ["frunk", "frunk_derives", "frunk_core", "frunk-enum-core", "frunk-
7878

7979
[target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "ios"))'.dependencies]
8080
native-tls = { version = "0.2", optional = true }
81-
hyper-tls = { version = "0.5", optional = true }
81+
hyper-tls = { version = "0.6", optional = true }
8282

8383
[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies]
84-
hyper-openssl = { version = "0.9", optional = true }
84+
hyper-openssl = { version = "0.10", optional = true }
8585
openssl = { version = "0.10", optional = true }
8686

8787
[dependencies]
8888
# Common
89-
async-trait = "0.1.24"
89+
async-trait = "0.1.88"
9090
chrono = { version = "0.4", features = ["serde"] }
9191
futures = "0.3"
92-
swagger = { version = "6.1", features = ["serdejson", "server", "client", "tls", "tcp"] }
93-
log = "0.4.0"
92+
swagger = { version = "7.0.0-rc1", features = ["serdejson", "server", "client", "tls", "tcp"] }
93+
log = "0.4.27"
9494
mime = "0.3"
9595

9696
serde = { version = "1.0", features = ["derive"] }
9797
serde_json = "1.0"
98-
validator = { version = "0.16", features = ["derive"] }
98+
validator = { version = "0.20", features = ["derive"] }
9999

100100
# Crates included if required by the API definition
101101
{{#usesXml}}
@@ -110,52 +110,52 @@ mime_0_2 = { package = "mime", version = "0.2.6", optional = true }
110110
multipart = { version = "0.16", default-features = false, optional = true }
111111
{{/apiUsesMultipartFormData}}
112112
{{#apiUsesUuid}}
113-
uuid = { version = "1.3.1", features = ["serde", "v4"]}
113+
uuid = { version = "1.17.0", features = ["serde", "v4"]}
114114
{{/apiUsesUuid}}
115115

116116
# Common between server and client features
117-
hyper = { version = "0.14", features = ["full"], optional = true }
117+
hyper = { version = "1.6", features = ["full"], optional = true }
118118
{{#apiUsesMultipartRelated}}
119119
mime_multipart = { version = "0.5", optional = true }
120120
hyper_0_10 = {package = "hyper", version = "0.10", default-features = false, optional=true }
121121
{{/apiUsesMultipartRelated}}
122-
serde_ignored = { version = "0.1.1", optional = true }
123-
url = { version = "2.1", optional = true }
122+
serde_ignored = { version = "0.1.12", optional = true }
123+
url = { version = "2.5", optional = true }
124124

125125
# Client-specific
126126
{{#usesUrlEncodedForm}}
127127
serde_urlencoded = { version = "0.6.1", optional = true }
128128
{{/usesUrlEncodedForm}}
129129

130130
# Server, and client callback-specific
131-
lazy_static = { version = "1.4", optional = true }
132-
percent-encoding = { version = "2.1.0", optional = true }
133-
regex = { version = "1.3", optional = true }
131+
lazy_static = { version = "1.5", optional = true }
132+
percent-encoding = { version = "2.3.1", optional = true }
133+
regex = { version = "1.11", optional = true }
134134

135135
# CLI-specific
136136
anyhow = { version = "1", optional = true }
137-
clap-verbosity-flag = { version = "0.3", optional = true }
138-
simple_logger = { version = "2.0", features = ["stderr"], optional = true }
137+
clap-verbosity-flag = { version = "3.0", optional = true }
138+
simple_logger = { version = "5.0", features = ["stderr"], optional = true }
139139
structopt = { version = "0.3", optional = true }
140-
tokio = { version = "0.2", features = ["rt-threaded", "macros", "stream"], optional = true }
140+
tokio = { version = "1.45", features = ["rt-threaded", "macros", "stream"], optional = true }
141141
{{#apiHasDeleteMethods}}
142142
dialoguer = { version = "0.8", optional = true }
143143
{{/apiHasDeleteMethods}}
144144

145145
# Conversion
146-
frunk = { version = "0.4.0", optional = true }
147-
frunk_derives = { version = "0.4.0", optional = true }
148-
frunk_core = { version = "0.4.0", optional = true }
146+
frunk = { version = "0.4.3", optional = true }
147+
frunk_derives = { version = "0.4.3", optional = true }
148+
frunk_core = { version = "0.4.3", optional = true }
149149
frunk-enum-derive = { version = "0.3.0", optional = true }
150150
frunk-enum-core = { version = "0.3.0", optional = true }
151151

152152
# Bearer authentication
153-
jsonwebtoken = { version = "9.3.0", optional = false }
153+
jsonwebtoken = { version = "9.3.1", optional = false }
154154

155155
[dev-dependencies]
156-
clap = "2.25"
156+
clap = "4.5"
157157
env_logger = "0.11"
158-
tokio = { version = "1.14", features = ["full"] }
158+
tokio = { version = "1.45", features = ["full"] }
159159
native-tls = "0.2"
160160

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

0 commit comments

Comments
 (0)