Skip to content

Commit

Permalink
fix(deps): update rust crate rquickjs to 0.4.0 (#131)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
renovate[bot] and pugaizai authored Jan 8, 2024
1 parent 5c486df commit 00c99ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions backend/Cargo.lock

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

2 changes: 1 addition & 1 deletion backend/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nanoid = "0.4.0"
chrono = "0.4.31"
sysinfo = "0.29"
sysproxy = { path = "../sysproxy-rs", version = "0.3" }
rquickjs = "0.1.7"
rquickjs = "0.4.0"
serde_json = "1.0"
serde_yaml = "0.9"
auto-launch = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion backend/tauri/src/enhance/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use anyhow::Result;
use serde_yaml::Mapping;

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

let runtime = Runtime::new().unwrap();
Expand Down

0 comments on commit 00c99ca

Please sign in to comment.