change RwLock<Option<Arc>> to ArcSwapOption
This commit is contained in:
parent
855e7ccaeb
commit
1168307189
3 changed files with 13 additions and 5 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
|
@ -129,6 +129,12 @@ version = "1.0.89"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
|
||||
|
||||
[[package]]
|
||||
name = "arc-swap"
|
||||
version = "1.7.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
|
||||
|
||||
[[package]]
|
||||
name = "assert_cfg"
|
||||
version = "0.1.0"
|
||||
|
|
@ -2604,6 +2610,7 @@ name = "librqbit"
|
|||
version = "7.1.0-beta.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arc-swap",
|
||||
"async-backtrace",
|
||||
"async-stream",
|
||||
"async-trait",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue