Browse Source

make wasm-bindgen an optional feature, but installed by default (#22)

pull/26/head
Jason Williams 5 years ago committed by GitHub
parent
commit
1db2690287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      Cargo.toml

7
Cargo.toml

@ -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"]

Loading…
Cancel
Save