2023-08-30 07:26:21 +03:00
|
|
|
[package]
|
|
|
|
name = "helix-event"
|
2023-12-05 04:54:18 +03:00
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
2023-11-27 15:24:57 +03:00
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
rust-version.workspace = true
|
2023-12-05 04:54:18 +03:00
|
|
|
categories.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
homepage.workspace = true
|
2023-08-30 07:26:21 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-12-01 02:03:26 +03:00
|
|
|
ahash = "0.8.3"
|
|
|
|
hashbrown = "0.14.0"
|
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "sync", "parking_lot", "macros"] }
|
|
|
|
# the event registry is essentially read only but must be an rwlock so we can
|
|
|
|
# setup new events on initialization, hardware-lock-elision hugely benefits this case
|
|
|
|
# as it essentially makes the lock entirely free as long as there is no writes
|
|
|
|
parking_lot = { version = "0.12", features = ["hardware-lock-elision"] }
|
|
|
|
once_cell = "1.18"
|
|
|
|
|
|
|
|
anyhow = "1"
|
|
|
|
log = "0.4"
|
|
|
|
futures-executor = "0.3.28"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
integration_test = []
|