Skip to content

Commit

Permalink
chore: fix fmt and dep-sort
Browse files Browse the repository at this point in the history
  • Loading branch information
t00ts committed Jan 27, 2025
1 parent 8873932 commit 5fc7460
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ num-bigint = { workspace = true }
num-traits = "0.2"
paste = { workspace = true }
pathfinder-crypto = { version = "0.15.3", path = "../crypto" }
pathfinder-tagged = { version = "0.1.0", path = "../tagged" }
pathfinder-tagged-debug-derive = { version = "0.1.0", path = "../tagged-debug-derive" }
primitive-types = { workspace = true, features = ["serde"] }
rand = { workspace = true }
serde = { workspace = true, features = ["derive"] }
Expand All @@ -27,8 +29,6 @@ serde_json = { workspace = true, features = [
] }
serde_with = { workspace = true }
sha3 = { workspace = true }
pathfinder-tagged = { version = "0.1.0", path = "../tagged" }
pathfinder-tagged-debug-derive = { version = "0.1.0", path = "../tagged-debug-derive" }
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/common/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ use std::str::FromStr;
use fake::Dummy;
use num_bigint::BigUint;
use pathfinder_crypto::Felt;
use serde_with::serde_conv;
use pathfinder_tagged::Tagged;
use pathfinder_tagged_debug_derive::TaggedDebug;
use serde_with::serde_conv;

use crate::{ContractAddress, EventData, EventKey};

Expand Down
8 changes: 4 additions & 4 deletions crates/p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ p2p_proto = { path = "../p2p_proto" }
p2p_stream = { path = "../p2p_stream" }
pathfinder-common = { path = "../common" }
pathfinder-crypto = { path = "../crypto" }
pathfinder-tagged = { path = "../tagged" }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
pretty_assertions_sorted = { workspace = true }
primitive-types = { workspace = true }
prost = { workspace = true }
Expand All @@ -46,8 +48,6 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sha2 = { workspace = true }
sha3 = { workspace = true }
pathfinder-tagged = { path = "../tagged" }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync"] }
tokio-stream = { workspace = true }
tracing = { workspace = true }
Expand All @@ -60,10 +60,10 @@ zeroize = { workspace = true }
[dev-dependencies]
clap = { workspace = true, features = ["derive", "env", "wrap_help"] }
hex = { workspace = true }
rand = { workspace = true }
rstest = { workspace = true }
pathfinder-tagged = { path = "../tagged" }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
rand = { workspace = true }
rstest = { workspace = true }
test-log = { workspace = true }
tokio = { workspace = true, features = ["test-util"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
2 changes: 1 addition & 1 deletion crates/p2p/src/client/peer_agnostic/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ use pathfinder_common::{
TransactionHash,
TransactionIndex,
};
use rand::seq::SliceRandom;
use pathfinder_tagged::Tagged;
use pathfinder_tagged_debug_derive::TaggedDebug;
use rand::seq::SliceRandom;
use tokio::sync::Mutex;

use super::ClassDefinition;
Expand Down
4 changes: 2 additions & 2 deletions crates/p2p_proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ libp2p-identity = { workspace = true, features = ["peerid"] }
p2p_proto_derive = { path = "../p2p_proto_derive" }
pathfinder-common = { path = "../common" }
pathfinder-crypto = { path = "../crypto" }
pathfinder-tagged = { path = "../tagged" }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
primitive-types = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }
rand = { workspace = true }
serde_json = { workspace = true, features = ["raw_value"] }
pathfinder-tagged = { path = "../tagged" }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }

[dev-dependencies]
pretty_assertions_sorted = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/tagged/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ categories = ["development-tools"]
fake = { workspace = true, features = ["derive"] }

[dev-dependencies]
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
pretty_assertions_sorted = { workspace = true }
rand = { workspace = true }
pathfinder-tagged-debug-derive = { path = "../tagged-debug-derive" }
2 changes: 1 addition & 1 deletion crates/tagged/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ impl<T: Clone + PartialEq + 'static> Tagged<T> {
#[cfg(test)]
mod tests {
use fake::Dummy;
use pretty_assertions_sorted::assert_eq;
use pathfinder_tagged_debug_derive::TaggedDebug;
use pretty_assertions_sorted::assert_eq;

use super::*;

Expand Down

0 comments on commit 5fc7460

Please sign in to comment.