From 428a669fb24714103261feecad7377c52a0d4e31 Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Fri, 22 Mar 2024 17:04:29 +0100 Subject: [PATCH] Allow spin-expressions and spin-outbound-networking to compile to wasm Signed-off-by: Ryan Levick --- Cargo.lock | 3 +-- crates/expressions/Cargo.toml | 5 ++--- crates/expressions/src/lib.rs | 2 +- examples/spin-timer/Cargo.lock | 4 +--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2ba681976..b28d041e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6134,11 +6134,10 @@ dependencies = [ "dotenvy", "once_cell", "serde", - "spin-app", + "spin-locked-app", "thiserror", "tokio", "toml 0.5.11", - "vaultrs", ] [[package]] diff --git a/crates/expressions/Cargo.toml b/crates/expressions/Cargo.toml index 852b7ec56..c1129b703 100644 --- a/crates/expressions/Cargo.toml +++ b/crates/expressions/Cargo.toml @@ -9,11 +9,10 @@ anyhow = "1.0" async-trait = "0.1" dotenvy = "0.15" once_cell = "1" -spin-app = { path = "../app" } +spin-locked-app = { path = "../locked-app" } thiserror = "1" -tokio = { version = "1", features = ["macros", "rt-multi-thread"] } -vaultrs = "0.6.2" serde = "1.0.188" [dev-dependencies] toml = "0.5" +tokio = { version = "1", features = ["macros", "rt-multi-thread"] } diff --git a/crates/expressions/src/lib.rs b/crates/expressions/src/lib.rs index 89bf3715d..a98a0ac14 100644 --- a/crates/expressions/src/lib.rs +++ b/crates/expressions/src/lib.rs @@ -3,7 +3,7 @@ mod template; use std::{borrow::Cow, collections::HashMap, fmt::Debug}; -use spin_app::Variable; +use spin_locked_app::Variable; pub use provider::Provider; use template::Part; diff --git a/examples/spin-timer/Cargo.lock b/examples/spin-timer/Cargo.lock index 742fa6e45..c4b144fd0 100644 --- a/examples/spin-timer/Cargo.lock +++ b/examples/spin-timer/Cargo.lock @@ -3928,10 +3928,8 @@ dependencies = [ "dotenvy", "once_cell", "serde", - "spin-app", + "spin-locked-app", "thiserror", - "tokio", - "vaultrs", ] [[package]]