Browse Source

Update parking_lot_core

Required turning on features = ["wasm-bindgen"] in egui_web
pull/70/head
Emil Ernerfeldt 4 years ago
parent
commit
8528d8c5f7
  1. 19
      Cargo.lock
  2. 2
      egui/Cargo.toml
  3. 2
      egui_web/Cargo.toml

19
Cargo.lock

@ -222,15 +222,6 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "cloudabi"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467"
dependencies = [
"bitflags",
]
[[package]]
name = "cocoa"
version = "0.23.0"
@ -847,6 +838,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"wasm-bindgen",
"web-sys",
]
[[package]]
@ -1290,12 +1284,11 @@ dependencies = [
[[package]]
name = "parking_lot_core"
version = "0.8.0"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b"
checksum = "d7c6d9b8427445284a09c55be860a15855ab580a417ccad9da88f5a06787ced0"
dependencies = [
"cfg-if 0.1.10",
"cloudabi",
"cfg-if 1.0.0",
"instant",
"libc",
"redox_syscall",

2
egui/Cargo.toml

@ -20,7 +20,7 @@ include = [
[dependencies]
ahash = { version = "0.6", features = ["std"], default-features = false }
parking_lot = "0.11"
parking_lot = "0.11" # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios
rusttype = "0.9"
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }

2
egui_web/Cargo.toml

@ -18,7 +18,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
egui = { version = "0.5.0", path = "../egui", features = ["serde"] }
js-sys = "0.3"
parking_lot = "0.11"
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"

Loading…
Cancel
Save