Skip to content

Commit

Permalink
fix: missing feature flag in common dep (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd authored Jan 11, 2023
1 parent 9697090 commit a660b15
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ futures = "0.3.25"

[dependencies.shuttle-common]
workspace = true
features = ["axum-wasm"]
features = ["wasm"]

[dependencies.shuttle-proto]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tmp/axum-wasm-expanded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ tracing-subscriber = "0.3.16"

[dependencies.shuttle-common]
path = "../../common"
features = ["axum-wasm"]
features = ["wasm"]
version = "0.8.0"
2 changes: 1 addition & 1 deletion tmp/axum-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ version = "0.8.0"

[dependencies.shuttle-common]
path = "../../common"
features = ["axum-wasm"]
features = ["wasm"]
version = "0.8.0"

0 comments on commit a660b15

Please sign in to comment.