Skip to content

Commit 7e4b2cc

Browse files
authored
Add Wasm feature flag to bitwarden-state (#562)
## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> ## 📔 Objective We weren't passing through the WASM feature flag in the core and vault crates, which were leading to some compilation issues when doing some SM builds. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes
1 parent 069d782 commit 7e4b2cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/bitwarden-core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ wasm = [
3131
"bitwarden-crypto/wasm",
3232
"bitwarden-encoding/wasm",
3333
"bitwarden-error/wasm",
34+
"bitwarden-state/wasm",
3435
"dep:wasm-bindgen",
3536
"dep:wasm-bindgen-futures",
3637
"dep:tsify"

crates/bitwarden-vault/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ wasm = [
2525
"bitwarden-collections/wasm",
2626
"bitwarden-core/wasm",
2727
"bitwarden-encoding/wasm",
28+
"bitwarden-state/wasm",
2829
"dep:tsify",
2930
"dep:wasm-bindgen",
3031
"dep:wasm-bindgen-futures"

0 commit comments

Comments
 (0)