Skip to content

Commit

Permalink
remove sqlx dependency from core
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 28, 2025
1 parent 18c3450 commit 8e11aa5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion beeps_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ rand = { version = "0.9.0", default-features = false, features = ["alloc"] }
rand_pcg = "0.9.0"
reqwest = { version = "0.12.12", features = ["json"] }
serde = { version = "1.0.217", features = ["derive"] }
sqlx = { version = "0.8.3", features = ["chrono"] }
thiserror = "2.0.11"
url = "2.5.4"

Expand Down
11 changes: 1 addition & 10 deletions beeps_core/src/node_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ use std::ops::Deref;

/// A unique identifier for a node in the network.
#[derive(
Debug,
Copy,
PartialEq,
Eq,
PartialOrd,
Ord,
Clone,
serde::Serialize,
serde::Deserialize,
sqlx::Type,
Debug, Copy, PartialEq, Eq, PartialOrd, Ord, Clone, serde::Serialize, serde::Deserialize,
)]
#[cfg_attr(test, derive(proptest_derive::Arbitrary))]
pub struct NodeId(#[cfg_attr(test, proptest(strategy = "0..=3u16"))] pub u16);
Expand Down

0 comments on commit 8e11aa5

Please sign in to comment.