mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
ohos: Bump napi-ohos (#34160)
Update napi-ohos and migrate away from deprecated `JsFunction` and use the new `Function` and `build_threadsafe_function()` methods. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
This commit is contained in:
parent
5e2c7908d0
commit
dcb9058fe3
3 changed files with 39 additions and 46 deletions
|
@ -87,7 +87,7 @@ env_filter = "0.1.2"
|
|||
ipc-channel = { workspace = true, features = ["force-inprocess"] }
|
||||
hilog = "0.1.1"
|
||||
napi-derive-ohos = "1.0.1"
|
||||
napi-ohos = "0.1"
|
||||
napi-ohos = "1.0.1"
|
||||
ohos-sys = { version = "0.4.0", features = ["xcomponent"] }
|
||||
ohos-vsync = "0.1.2"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue