# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2021 The Gleam contributors

[package]
name = "gleam-wasm"
version = "1.17.0"
authors = ["Louis Pilfold <louis@lpil.uk>"]
edition = "2024"
license = "Apache-2.0"

[lib]
# This package compiles to wasm
crate-type = ["cdylib", "rlib"]

[dependencies]
gleam-core = { path = "../compiler-core" }
console_error_panic_hook = "0"
serde-wasm-bindgen = "0"
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
tracing-wasm = "*"
camino.workspace = true
hexpm = { path = "../hexpm" }
im.workspace = true
itertools.workspace = true
serde.workspace = true
termcolor.workspace = true
tracing.workspace = true
getrandom.workspace = true

[dev-dependencies]
wasm-bindgen-test = "0.3.42"
