Skip to content

Commit 5750e2c

Browse files
committed
chore(deps): add dependency parking_lot
It provides implementations of Mutex and RwLock that are smaller, faster and more flexible than those in the Rust standard library. It will be used to check if a new torrent repo implementation using these lock is faster.
1 parent 7664ec6 commit 5750e2c

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ hyper = "1"
5151
lazy_static = "1"
5252
log = { version = "0", features = ["release_max_level_info"] }
5353
multimap = "0"
54+
parking_lot = "0.12.1"
5455
percent-encoding = "2"
5556
r2d2 = "0"
5657
r2d2_mysql = "24"

packages/torrent-repository/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ version.workspace = true
1919
crossbeam-skiplist = "0.1"
2020
dashmap = "5.5.3"
2121
futures = "0.3.29"
22+
parking_lot = "0.12.1"
2223
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
2324
torrust-tracker-clock = { version = "3.0.0-alpha.12-develop", path = "../clock" }
2425
torrust-tracker-configuration = { version = "3.0.0-alpha.12-develop", path = "../configuration" }

0 commit comments

Comments
 (0)