Skip to content

Commit 00c99ca

Browse files
fix(deps): update rust crate rquickjs to 0.4.0 (#131)
* fix(deps): update rust crate rquickjs to 0.4.0 * fix update rquickjs 0.4.0 (#243) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: madoka773 <85693457+madoka773@users.noreply.github.com>
1 parent 5c486df commit 00c99ca

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

backend/Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ nanoid = "0.4.0"
2828
chrono = "0.4.31"
2929
sysinfo = "0.29"
3030
sysproxy = { path = "../sysproxy-rs", version = "0.3" }
31-
rquickjs = "0.1.7"
31+
rquickjs = "0.4.0"
3232
serde_json = "1.0"
3333
serde_yaml = "0.9"
3434
auto-launch = "0.5"

backend/tauri/src/enhance/script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use anyhow::Result;
33
use serde_yaml::Mapping;
44

55
pub fn use_script(script: String, config: Mapping) -> Result<(Mapping, Vec<(String, String)>)> {
6-
use rquickjs::{Context, Func, Runtime};
6+
use rquickjs::{function::Func, Context, Runtime};
77
use std::sync::{Arc, Mutex};
88

99
let runtime = Runtime::new().unwrap();

0 commit comments

Comments
 (0)