-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathclippy.toml
More file actions
71 lines (59 loc) · 2.57 KB
/
clippy.toml
File metadata and controls
71 lines (59 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Allowed duplicate crate versions for clippy::multiple_crate_versions lint
#
# These duplicates are caused by transitive dependencies that cannot be
# resolved without waiting for upstream crates to update their dependencies.
allowed-duplicate-crates = [
# AWS SDK still uses http 0.2 internally, while reqwest/hyper use http 1.x
# Source: aws-smithy-* crates depend on http 0.2, our direct deps use http 1.x
# Tracking: https://github.com/awslabs/aws-sdk-rust/issues/977
"http",
"http-body",
# serde_with 3.x (transitive from google-cloud-sql-v1) depends on indexmap 1.9
# and schemars 0.9, while the rest of the workspace uses indexmap 2.x and schemars 1.x
"indexmap",
"schemars",
# hashbrown 0.14/0.15/0.16 from various transitive deps (indexmap, lru, serde_json)
# foldhash 0.1 (from hashbrown 0.15) vs 0.2 (from hashbrown 0.16)
"foldhash",
"hashbrown",
# sqlx (upstream) uses rand 0.8, while pg-ephemeral uses rand 0.10
# Source: sqlx-postgres -> rand 0.8, pg-ephemeral -> rand 0.10
"rand",
"rand_core",
"rand_chacha",
# Transitive from rand 0.8/0.10 split, plus ring (crypto) uses getrandom 0.2
# Source: rand 0.8 -> getrandom 0.2, rand 0.10 -> getrandom 0.4
"getrandom",
# rand 0.10 -> chacha20 -> cpufeatures 0.3, while aes/sha1/sha2 use cpufeatures 0.2
"cpufeatures",
# sha2 0.11 (direct dep) vs 0.10 (transitive from aws-sdk, google-cloud, msqlx)
# Also causes duplicate digest, crypto-common, block-buffer, const-oid
"sha2",
"digest",
"crypto-common",
"block-buffer",
"const-oid",
# We use nom 8 while most of the ecosystem still depends on nom 7
"nom",
# libredox 0.1 requires redox_syscall 0.7, while other crates still use 0.5
"redox_syscall",
# getrandom 0.3 -> r-efi 5.x, getrandom 0.4 -> r-efi 6.x
"r-efi",
# getrandom 0.3 -> wasip2 -> wit-bindgen 0.57, getrandom 0.4 -> wasip3 ->
# wit-bindgen 0.51. WASI-target-only dep, not built on Linux.
"wit-bindgen",
# Windows platform crates - multiple versions pulled by various dependencies
# (ring, tokio, rustls, aws-sdk, zip, etc.) targeting different Windows APIs
# These are platform-specific and don't affect Linux builds, but clippy
# still reports them. Common in the Rust ecosystem due to gradual migrations.
"windows-sys",
"windows-targets",
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]