Skip to content

Commit

Permalink
[rust] replace to use parking_lot crate instead of standard mutex (#…
Browse files Browse the repository at this point in the history
…373)

* [rust] replace to use `parking_lot` instead of standard mutex

Additionally, the commit includes following changes.

* retain watcher instance to prevent stop watch immediately
* adds logging notification of watcher event
* rename `(Model|Motion) WASM plugin` to `WASM (model|motion) I/O plugin`

* [rust] move `(Model|Motion)IOPluginController` to its own namespace
  • Loading branch information
hkrn committed Sep 30, 2023
1 parent b013e7f commit d01c12d
Show file tree
Hide file tree
Showing 16 changed files with 847 additions and 769 deletions.
122 changes: 66 additions & 56 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion rust/plugin_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ license = "MPL-2.0"
[dependencies]
anyhow = "1"
nanoem-protobuf = { version = "35", path = "../protobuf" }
notify = "6"
notify = { version = "6", default-features = false, features = [
"macos_kqueue",
] }
parking_lot = "0.12"
tracing = { version = "0.1", default-features = false, features = ["std"] }
tracing-subscriber = "0.3"
wasmtime = { version = "13", default-features = false, features = [
Expand Down

0 comments on commit d01c12d

Please sign in to comment.