Skip to content

Commit

Permalink
chore(deps): add dependency parking_lot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
josecelano committed Apr 16, 2024
1 parent 7664ec6 commit 5750e2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 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 @@ -51,6 +51,7 @@ hyper = "1"
lazy_static = "1"
log = { version = "0", features = ["release_max_level_info"] }
multimap = "0"
parking_lot = "0.12.1"
percent-encoding = "2"
r2d2 = "0"
r2d2_mysql = "24"
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 @@ -19,6 +19,7 @@ version.workspace = true
crossbeam-skiplist = "0.1"
dashmap = "5.5.3"
futures = "0.3.29"
parking_lot = "0.12.1"
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
torrust-tracker-clock = { version = "3.0.0-alpha.12-develop", path = "../clock" }
torrust-tracker-configuration = { version = "3.0.0-alpha.12-develop", path = "../configuration" }
Expand Down

0 comments on commit 5750e2c

Please sign in to comment.