Skip to content

Commit cd70d77

Browse files
committed
Fix lints
1 parent 61a6527 commit cd70d77

File tree

2 files changed

+17
-28
lines changed

2 files changed

+17
-28
lines changed

deny.toml

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,10 @@ skip = [
1818
# transitively depends on. They just released v2.0 which not all crates have
1919
# migrated to yet.
2020
{ name = "syn", version = "1.0.107" },
21-
# `tokio` depends on a newer version of socket2, we are okay with _temporarily_
22-
# allowing these duplicate dependencies until the rest of the ecosystem catches
23-
# up.
24-
{ name = "socket2", version = "0.4.9" },
2521
# held back by regex 1.7.0 depended on by arrow-string and bindgen
2622
{ name = "regex-syntax", version = "0.6.28" },
2723
# held back by thrift 0.17.0 depended on by parquet 51.0.0
2824
{ name = "ordered-float", version = "2.10.1" },
29-
# held back by 'ciborium' which is depended on by 'criterion'
30-
{ name = "half", version = "1.6.0" },
3125
{ name = "windows-sys", version = "0.42.0" },
3226
{ name = "windows_aarch64_gnullvm", version = "0.42.0" },
3327
{ name = "windows_aarch64_msvc", version = "0.42.0" },
@@ -46,10 +40,6 @@ skip = [
4640
{ name = "windows_x86_64_gnu", version = "0.48.0" },
4741
{ name = "windows_x86_64_msvc", version = "0.48.0" },
4842
{ name = "windows-sys", version = "0.52.0" },
49-
# Newer versions of crates like `tempfile` are held back by crates like `atty`.
50-
# This is very Unfortunate as we don't actually use these platforms.
51-
{ name = "hermit-abi", version = "0.2.6" },
52-
{ name = "redox_syscall", version = "0.2.10" },
5343

5444
# Will require updating many crates
5545
{ name = "indexmap", version = "1.9.1" },
@@ -64,12 +54,8 @@ skip = [
6454
{ name = "bitflags", version = "1.3.2" },
6555

6656
# TODO(parkmycar): In a followup/stacked PR, get rid of these duplicates.
67-
{ name = "bstr", version = "0.2.14" },
6857
{ name = "regex-automata", version = "0.1.9" },
6958

70-
# TODO: Required for Rust nightly upgrade
71-
{ name = "portable-atomic", version = "0.3.20" },
72-
7359
# TODO: Required for Rust nightly upgrade
7460
{ name = "http", version = "0.2.9" },
7561

@@ -106,8 +92,6 @@ skip = [
10692

10793
{ name = "hyper-timeout", version = "0.4.1" },
10894

109-
{ name = "tokio-tungstenite", version = "0.21.0" },
110-
11195
{ name = "tungstenite", version = "0.21.0" },
11296

11397
# `axum 0.7.5` depends on both `sync_wrapper 1.*` and `axum-core 0.4.3`.
@@ -127,10 +111,23 @@ skip = [
127111
{ name = "rand_core", version = "0.5.1" },
128112
{ name = "reqwest", version = "0.11.24" },
129113
{ name = "rustls-pemfile", version = "1.0.4" },
130-
{ name = "winreg", version = "0.50.0" },
131114
{ name = "thiserror", version = "1.0.61" },
132115
{ name = "thiserror-impl", version = "1.0.61" },
133116
{ name = "twox-hash", version = "1.6.3" },
117+
{ name = "wasi", version = "0.11.0+wasi-snapshot-preview1" },
118+
{ name = "winnow", version = "0.5.40" },
119+
{ name = "unicode-width", version = "0.1.14" },
120+
{ name = "tungstenite", version = "0.23.0" },
121+
{ name = "tower", version = "0.4.13" },
122+
{ name = "toml_edit", version = "0.20.7" },
123+
{ name = "getrandom", version = "0.2.15" },
124+
{ name = "hermit-abi", version = "0.3.9" },
125+
{ name = "itertools", version = "0.12.1" },
126+
{ name = "num_enum", version = "0.5.11" },
127+
{ name = "num_enum_derive", version = "0.5.11" },
128+
{ name = "predicates", version = "2.1.5" },
129+
{ name = "proc-macro-crate", version = "1.3.1" },
130+
{ name = "tokio-tungstenite", version = "0.23.1" },
134131
]
135132

136133
# Use `tracing` instead.
@@ -163,6 +160,7 @@ name = "log"
163160
wrappers = [
164161
"azure_svc_blobstorage",
165162
"buildid",
163+
"cbindgen",
166164
"deadpool-postgres",
167165
"eventsource-client",
168166
"fail",
@@ -183,7 +181,6 @@ wrappers = [
183181
"tracing-log",
184182
"tracing",
185183
"tungstenite",
186-
"want",
187184
"wasm-bindgen-backend",
188185
"workspace-hack",
189186
]
@@ -199,22 +196,15 @@ name = "rustls"
199196
name = "lazy_static"
200197
wrappers = [
201198
"bindgen",
202-
"bstr",
203-
"console",
204199
"dynfmt",
205200
"findshlibs",
206-
"insta",
207201
"jsonpath-rust",
208202
"launchdarkly-server-sdk",
209203
"launchdarkly-server-sdk-evaluation",
210204
"mysql_common",
211-
"native-tls",
212205
"prometheus",
213206
"proptest",
214-
"rayon-core",
215-
"schannel",
216207
"sharded-slab",
217-
"which",
218208
]
219209

220210
# The `uncased` crate serves the same purpose as `unicase` and is more
@@ -266,7 +256,6 @@ allow = [
266256
"MPL-2.0",
267257
"Zlib",
268258
"Unicode-3.0",
269-
"Unicode-DFS-2016",
270259
]
271260
# copyleft is denied by default
272261
private = { ignore = true }

misc/bazel/c_deps/rust-sys/BUILD.protobuf-native.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cc_library(
3636
":io-bridge/include",
3737
":lib-bridge/include",
3838
"@com_google_absl//absl/strings",
39-
"@crates_io__cxx-1.0.122//:cxx_cc",
39+
"@crates_io__cxx-1.0.138//:cxx_cc",
4040
"@protobuf//src/google/protobuf/compiler:code_generator",
4141
"@protobuf//src/google/protobuf/compiler:importer",
4242
],
@@ -82,6 +82,6 @@ cc_library(
8282
include_prefix = "protobuf-native",
8383
deps = [
8484
"@com_google_absl//absl/strings",
85-
"@crates_io__cxx-1.0.122//:cxx_cc",
85+
"@crates_io__cxx-1.0.138//:cxx_cc",
8686
],
8787
)

0 commit comments

Comments
 (0)