build: Update Cargo Depends

This commit is contained in:
WhizPanda
2023-12-01 15:52:49 +08:00
parent 5a6d318cfb
commit 8a77f832a3
7 changed files with 287 additions and 195 deletions

View File

@@ -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();