Replace lockfree with tokio::sync

This commit is contained in:
Aram 🍐 2021-10-20 16:05:04 -04:00
parent 5cec6d4943
commit 11c5ec99fd
7 changed files with 52 additions and 53 deletions

27
Cargo.lock generated
View file

@ -203,6 +203,16 @@ dependencies = [
"libc",
]
[[package]]
name = "dashmap"
version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c"
dependencies = [
"cfg-if",
"num_cpus",
]
[[package]]
name = "dirs-next"
version = "2.0.0"
@ -469,15 +479,6 @@ dependencies = [
"scopeguard",
]
[[package]]
name = "lockfree"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74ee94b5ad113c7cb98c5a040f783d0952ee4fe100993881d1673c2cb002dd23"
dependencies = [
"owned-alloc",
]
[[package]]
name = "log"
version = "0.4.14"
@ -609,8 +610,8 @@ dependencies = [
"async-trait",
"boringtun",
"clap",
"dashmap",
"futures",
"lockfree",
"log",
"nom",
"pretty_env_logger",
@ -619,12 +620,6 @@ dependencies = [
"tokio",
]
[[package]]
name = "owned-alloc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30fceb411f9a12ff9222c5f824026be368ff15dc2f13468d850c7d3f502205d6"
[[package]]
name = "parking_lot"
version = "0.11.2"