event_monitor: Replace unsound static mut MONITOR

See discussion in https://github.com/rust-lang/rust/issues/53639.
This came up during an internal review.

Signed-off-by: Christian Blichmann <cblichmann@google.com>
This commit is contained in:
Christian Blichmann
2023-09-14 11:19:12 +02:00
committed by Rob Bradford
parent f557aadb67
commit 88f3537b47
3 changed files with 13 additions and 13 deletions
+1
View File
@@ -7,5 +7,6 @@ edition = "2021"
[dependencies]
flume = "0.10.14"
libc = "0.2.147"
once_cell = "1.18.0"
serde = { version = "1.0.168", features = ["rc", "derive"] }
serde_json = "1.0.96"