Skip to content

Commit fcd9c28

Browse files
authored
Remove temporary dust prevention mechanism (#698)
* Remove temporary dust prevention mechanism * Disable uninlined_format_args lint * Apply workspace lints to all crates * clippy
1 parent 1adeae8 commit fcd9c28

File tree

53 files changed

+155
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+155
-26
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,4 @@ strip = false
338338

339339
[workspace.lints.clippy]
340340
empty_docs = "allow"
341+
uninlined_format_args = "allow"

components/addressmanager/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ tokio.workspace = true
2828

2929
[dev-dependencies]
3030
rv.workspace = true
31+
32+
[lints]
33+
workspace = true

components/connectionmanager/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ kaspa-utils.workspace = true
2020
log.workspace = true
2121
parking_lot.workspace = true
2222
rand.workspace = true
23-
tokio.workspace = true
23+
tokio.workspace = true
24+
25+
[lints]
26+
workspace = true

components/consensusmanager/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ log.workspace = true
2323
parking_lot.workspace = true
2424
rand.workspace = true
2525
tokio.workspace = true
26+
27+
[lints]
28+
workspace = true

consensus/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,6 @@ harness = false
6868
[features]
6969
html_reports = []
7070
devnet-prealloc = ["kaspa-consensus-core/devnet-prealloc"]
71+
72+
[lints]
73+
workspace = true

consensus/notify/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ log.workspace = true
2323
paste.workspace = true
2424
thiserror.workspace = true
2525
triggered.workspace = true
26+
27+
[lints]
28+
workspace = true

core/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ log4rs = { workspace = true, features = ["all_components", "gzip", "background_r
2525
num_cpus.workspace = true
2626
tokio = { workspace = true, features = ["rt", "macros", "rt-multi-thread", "time"] }
2727
anyhow = "1.0.97"
28+
29+
[lints]
30+
workspace = true

crypto/hashes/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ cc.workspace = true
3939
[[bench]]
4040
name = "bench"
4141
harness = false
42+
43+
[lints]
44+
workspace = true

crypto/merkle/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ repository.workspace = true
1111

1212
[dependencies]
1313
kaspa-hashes.workspace = true
14+
15+
[lints]
16+
workspace = true

crypto/muhash/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ rand.workspace = true
2626
name = "bench"
2727
harness = false
2828

29-
[lints.rust]
30-
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
29+
[lints]
30+
rust = { unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } }
31+
32+
[lints.clippy]
33+
empty_docs = "allow"
34+
uninlined_format_args = "allow"

0 commit comments

Comments
 (0)