Skip to content

Commit

Permalink
changes smallvec version
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jan 28, 2025
1 parent 301f437 commit 26638bd
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 37 deletions.
64 changes: 29 additions & 35 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ parking_lot = "0.12"
reqwest = "0.12.12"
rusqlite = "0.28.0"
serde = { version = "1.0.208", features = ["derive"] }
smallvec = "2.0.0-alpha.9"
smallvec = "1.13.2"
strum = { version = "0.24", features = ["derive"] }
tokio = { version = "1.39.2", features = [
"rt",
Expand Down
2 changes: 1 addition & 1 deletion anchor/network/src/peer_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct PeerManager {
/// Peers queued to be dialed.
peers_to_dial: Vec<Enr>,
/// A queue of events that the `PeerManager` is waiting to produce.
events: SmallVec<PeerManagerEvent, 16>,
events: SmallVec<[PeerManagerEvent; 16]>,
/// A collection of inbound-connected peers awaiting to be Ping'd.
inbound_ping_peers: HashSetDelay<PeerId>,
/// A collection of outbound-connected peers awaiting to be Ping'd.
Expand Down

0 comments on commit 26638bd

Please sign in to comment.