Skip to content

Commit

Permalink
chore(deps): add cargo dependency: dashmap
Browse files Browse the repository at this point in the history
It will be used to create a new torrent repository implementation,
using a DashMap for the torrent list.

DashMap crate: https://crates.io/crates/dashmap
  • Loading branch information
josecelano committed Apr 9, 2024
1 parent af52045 commit 78b46c4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ clap = { version = "4", features = ["derive", "env"] }
colored = "2"
config = "0"
crossbeam-skiplist = "0.1"
dashmap = "5.5.3"
derive_more = "0"
fern = "0"
futures = "0"
Expand Down
1 change: 1 addition & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
"Weidendorfer",
"Werror",
"whitespaces",
"Xacrimon",
"XBTT",
"Xdebug",
"Xeon",
Expand Down
1 change: 1 addition & 0 deletions packages/torrent-repository/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ version.workspace = true

[dependencies]
crossbeam-skiplist = "0.1"
dashmap = "5.5.3"
futures = "0.3.29"
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
torrust-tracker-clock = { version = "3.0.0-alpha.12-develop", path = "../clock" }
Expand Down

0 comments on commit 78b46c4

Please sign in to comment.