chore: update dependencies

This commit is contained in:
Anna 2022-03-18 15:36:48 -04:00
parent b66912a488
commit dae57e3045
3 changed files with 450 additions and 689 deletions

1122
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,22 +7,22 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
askama = { version = "0.10", features = ["with-warp"] } askama = { version = "0.11", features = ["with-warp"] }
askama_warp = "0.11" askama_warp = "0.12"
cached = { version = "0.25", default-features = false } cached = { version = "0.34", default-features = false }
chrono = "0.4" chrono = "0.4"
cookie = { version = "0.15", features = ["percent-encode"] } cookie = { version = "0.16", features = ["percent-encode"] }
futures = "0.3" futures = "0.3"
irc = "0.15" irc = "0.15"
parking_lot = "0.11" parking_lot = "0.12"
reqwest = "0.11" reqwest = "0.11"
rhai = { version = "1", features = ["sync"] } rhai = { version = "1", features = ["sync"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
serde_with = { version = "1", features = ["chrono"] } serde_with = { version = "1", features = ["chrono"] }
toml = "0.5" toml = "0.5"
tokio-tungstenite = { version = "0.15", features = ["rustls-tls"] } tokio-tungstenite = { version = "0.17" }
twitch_api2 = { version = "0.6.0-rc.2", features = ["twitch_oauth2", "client", "reqwest_client", "helix", "pubsub", "unsupported"] } twitch_api2 = { version = "0.6.0-rc.3", features = ["twitch_oauth2", "client", "reqwest_client", "helix", "pubsub", "unsupported"] }
url = "2" url = "2"
uuid = { version = "0.8", features = ["v4", "serde"] } uuid = { version = "0.8", features = ["v4", "serde"] }
warp = "0.3" warp = "0.3"

View File

@ -395,10 +395,11 @@ pub fn run_rhai<S: Into<String>>(state: Arc<State>, script: S, fn_args: Vec<rhai
let mut output = rhai::Dynamic::from(ExecutorOutput::default()); let mut output = rhai::Dynamic::from(ExecutorOutput::default());
state.rhai.call_fn_dynamic( state.rhai.call_fn_raw(
&mut scope, &mut scope,
&ast, &ast,
true, true,
false,
"run", "run",
Some(&mut output), Some(&mut output),
fn_args, fn_args,