From 66b68a461a9e8501ec40a0108b7ad645cf52e873 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 11 Jan 2023 09:08:14 +0100 Subject: [PATCH] fix: missing feature flag in common dep --- common/Cargo.toml | 2 +- common/src/lib.rs | 2 +- proto/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- tmp/axum-wasm-expanded/Cargo.toml | 2 +- tmp/axum-wasm/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/Cargo.toml b/common/Cargo.toml index f90991bd9..e3e90ddb8 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -34,5 +34,5 @@ hyper = "0.14.3" backend = ["async-trait", "axum"] display = ["comfy-table", "crossterm"] tracing = ["serde_json"] -axum-wasm = ["http-serde", "http", "rmp-serde", "tracing", "tracing-subscriber"] +wasm = ["http-serde", "http", "rmp-serde", "tracing", "tracing-subscriber"] models = ["anyhow", "async-trait", "display", "http", "reqwest", "serde_json"] diff --git a/common/src/lib.rs b/common/src/lib.rs index f57e647b2..2c037786e 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -9,7 +9,7 @@ pub mod project; pub mod storage_manager; #[cfg(feature = "tracing")] pub mod tracing; -#[cfg(feature = "axum-wasm")] +#[cfg(feature = "wasm")] pub mod wasm; use serde::{Deserialize, Serialize}; diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 1b7be9abb..ab998ffa0 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -18,7 +18,7 @@ uuid = { workspace = true, features = ["v4"] } [dependencies.shuttle-common] workspace = true -features = ["models"] +features = ["models", "wasm"] [build-dependencies] tonic-build = "0.8.3" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index efc9f2713..adee32637 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -27,7 +27,7 @@ futures = "0.3.25" [dependencies.shuttle-common] workspace = true -features = ["axum-wasm"] +features = ["wasm"] [dependencies.shuttle-proto] workspace = true diff --git a/tmp/axum-wasm-expanded/Cargo.toml b/tmp/axum-wasm-expanded/Cargo.toml index 7a36a408a..81cc6ad1c 100644 --- a/tmp/axum-wasm-expanded/Cargo.toml +++ b/tmp/axum-wasm-expanded/Cargo.toml @@ -20,5 +20,5 @@ tracing-subscriber = "0.3.16" [dependencies.shuttle-common] path = "../../common" -features = ["axum-wasm"] +features = ["wasm"] version = "0.8.0" diff --git a/tmp/axum-wasm/Cargo.toml b/tmp/axum-wasm/Cargo.toml index 2f5171163..07b361e91 100644 --- a/tmp/axum-wasm/Cargo.toml +++ b/tmp/axum-wasm/Cargo.toml @@ -25,5 +25,5 @@ version = "0.8.0" [dependencies.shuttle-common] path = "../../common" -features = ["axum-wasm"] +features = ["wasm"] version = "0.8.0"