make wasm-bindgen an optional feature, but installed by default
@@ -10,13 +10,18 @@ license = "Unlicense OR MIT"
exclude = [".vscode/*", "Dockerfile", "Makefile", ".editorConfig"]
edition = "2018"
+[features]
+default = ["wasm-bindgen"]
+
[dependencies]
gc = "0.3.2"
gc_derive = "0.3.2"
serde_json = "1.0"
rand = "0.5.5"
chrono = "0.4"
-wasm-bindgen = "0.2.43"
+
+# Optional Dependencies
+wasm-bindgen = { version = "0.2.43", optional = true }
[lib]
crate-type = ["cdylib", "lib"]
