File tree 10 files changed +32
-2
lines changed
10 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1
1
[build ]
2
- rustflags = [" -Wmissing_debug_implementations " , " -Wclippy::unused-async " ]
2
+ rustflags = []
Original file line number Diff line number Diff line change @@ -272,7 +272,9 @@ jobs:
272
272
runs-on : ubuntu-latest
273
273
steps :
274
274
- uses : actions/checkout@master
275
- - uses : dtolnay/rust-toolchain@stable
275
+ # Can be switched back once 1.75 lands
276
+ # https://github.com/rust-lang/cargo/issues/12115#issuecomment-1768170381
277
+ - uses : dtolnay/rust-toolchain@nightly
276
278
with :
277
279
components : clippy
278
280
Original file line number Diff line number Diff line change @@ -22,3 +22,10 @@ debug-assertions = false
22
22
opt-level = 3
23
23
panic = ' abort'
24
24
incremental = false
25
+
26
+
27
+ [workspace .lints .rust ]
28
+ missing_debug_implementations = " warn"
29
+
30
+ [workspace .lints .clippy ]
31
+ unused-async = " warn"
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ repository = "https://github.com/n0-computer/iroh"
11
11
# Sadly this also needs to be updated in .github/workflows/ci.yml
12
12
rust-version = " 1.72"
13
13
14
+ [lints ]
15
+ workspace = true
16
+
14
17
[dependencies ]
15
18
anyhow = { version = " 1" , features = [" backtrace" ] }
16
19
bao-tree = { version = " 0.9.1" , features = [" tokio_fsm" ], default-features = false }
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ repository = "https://github.com/n0-computer/iroh-sync"
11
11
# Sadly this also needs to be updated in .github/workflows/ci.yml
12
12
rust-version = " 1.72"
13
13
14
+ [lints ]
15
+ workspace = true
16
+
14
17
[dependencies ]
15
18
# proto dependencies (required)
16
19
anyhow = { version = " 1" , features = [" backtrace" ] }
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ repository = "https://github.com/n0-computer/iroh"
11
11
# Sadly this also needs to be updated in .github/workflows/ci.yml
12
12
rust-version = " 1.72"
13
13
14
+ [lints ]
15
+ workspace = true
16
+
14
17
[dependencies ]
15
18
prometheus-client = { version = " 0.21.0" , optional = true }
16
19
once_cell = " 1.17.0"
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ repository = "https://github.com/n0-computer/iroh"
11
11
# Sadly this also needs to be updated in .github/workflows/ci.yml
12
12
rust-version = " 1.72"
13
13
14
+ [lints ]
15
+ workspace = true
16
+
14
17
[dependencies ]
15
18
aead = { version = " 0.5.2" , features = [" bytes" ] }
16
19
anyhow = { version = " 1" , features = [" backtrace" ] }
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ repository = "https://github.com/n0-computer/iroh"
11
11
# Sadly this also needs to be updated in .github/workflows/ci.yml
12
12
rust-version = " 1.72"
13
13
14
+ [lints ]
15
+ workspace = true
16
+
14
17
[dependencies ]
15
18
anyhow = " 1"
16
19
blake3 = { package = " iroh-blake3" , version = " 1.4.3" }
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ publish = true
12
12
# Sadly this also needs to be updated in .github/workflows/ci.yml
13
13
rust-version = " 1.72"
14
14
15
+ [lints ]
16
+ workspace = true
17
+
15
18
[dependencies ]
16
19
anyhow = " 1"
17
20
tokio = { version = " 1" , features = [" full" ] }
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ default-run = "iroh"
12
12
# Sadly this also needs to be updated in .github/workflows/ci.yml
13
13
rust-version = " 1.72"
14
14
15
+ [lints ]
16
+ workspace = true
17
+
15
18
[dependencies ]
16
19
anyhow = { version = " 1" , features = [" backtrace" ] }
17
20
bao-tree = { version = " 0.9.1" , features = [" tokio_fsm" ], default-features = false }
You can’t perform that action at this time.
0 commit comments