fix: better conditional comp for wasm

This commit is contained in:
rvcas
2023-05-11 16:59:54 -04:00
parent 312682e567
commit 1fb31e246c
4 changed files with 16 additions and 16 deletions

View File

@@ -14,7 +14,6 @@ authors = [
rust-version = "1.66.1"
[dependencies]
chumsky = "0.9.2"
hex = "0.4.3"
indexmap = "1.9.2"
indoc = "2.0.1"
@@ -25,9 +24,13 @@ owo-colors = { version = "3.5.0", features = ["supports-colors"] }
strum = "0.24.1"
thiserror = "1.0.39"
vec1 = "1.10.1"
uplc = { path = '../uplc', version = "1.0.4-alpha" }
[target.'cfg(not(target_family="wasm"))'.dependencies]
chumsky = "0.9.2"
[target.'cfg(target_family="wasm")'.dependencies]
chumsky = { version = "0.9.2", features = ["ahash", "std"], default-features = false }
[dev-dependencies]
indoc = "2.0.1"
pretty_assertions = "1.3.0"