From 3e5259cc1cdf80dade04be462f216aa18cf2fa11 Mon Sep 17 00:00:00 2001 From: 8e8b2c <8e8b2c@proton.me> Date: Tue, 27 Aug 2024 12:31:15 +0100 Subject: [PATCH] feat: optionally disable wasmbind --- lib/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index ab5af087..a71939dc 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -11,8 +11,11 @@ repository = "https://github.com/1Password/typeshare" chrono = { version = "0.4", default-features = false, features = [ "clock", "std", - "wasmbind", ] } serde = { version = "1", features = ["derive"] } serde_json = "1" typeshare-annotation = { path = "../annotation", version = "1.0.4" } + +[features] +default = ["wasmbind"] +wasmbind = ["chrono/wasmbind"]