Skip to content

Commit

Permalink
chore: apply lint to all crates
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Mar 26, 2024
1 parent 2b3a50c commit 234518a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ required-features = ["client", "rpc"]
[[example]]
name = "webhook"
required-features = ["client", "rpc"]

[lints.clippy]
indexing_slicing = "deny"
3 changes: 3 additions & 0 deletions blockchain_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ serde = "1.0"
tokio = { version = "1.0", features = ["test-util", "macros"] }
tracing = "0.1.40"
url = "2"

[lints.clippy]
indexing_slicing = "deny"
3 changes: 3 additions & 0 deletions relay_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ tokio-tungstenite = "0.20"
futures-channel = "0.3"
tokio-stream = "0.1"
tokio-util = "0.7"

[lints.clippy]
indexing_slicing = "deny"
3 changes: 3 additions & 0 deletions relay_rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ strum = { version = "0.26", features = ["strum_macros", "derive"] }

[dev-dependencies]
tokio = { version = "1.35.1", features = ["test-util", "macros"] }

[lints.clippy]
indexing_slicing = "deny"
2 changes: 0 additions & 2 deletions relay_rpc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![deny(clippy::indexing_slicing)]

//! This crate provides domain interfaces and RPC data types that are shared
//! between services.
Expand Down

0 comments on commit 234518a

Please sign in to comment.