1# Copyright © SixtyFPS GmbH <info@slint.dev>
2# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
3
4[package]
5name = "slint-wasm-interpreter"
6description = "Slint wasm glue"
7authors.workspace = true
8edition.workspace = true
9homepage.workspace = true
10license.workspace = true
11repository.workspace = true
12rust-version.workspace = true
13version.workspace = true
14publish = false
15
16[lib]
17crate-type = ["cdylib"]
18
19[dependencies]
20slint-interpreter = { workspace = true, features = ["std", "backend-winit", "renderer-femtovg", "compat-1-2", "internal"] }
21send_wrapper = { workspace = true }
22
23vtable = { workspace = true }
24
25console_error_panic_hook = { version = "0.1.6", optional = true }
26js-sys = "0.3.44"
27wasm-bindgen-futures = { version = "0.4.18" }
28wasm-bindgen = { version = "0.2.66" }
29
30[dependencies.web-sys]
31version = "0.3"
32features = [
33 'Request',
34 'RequestInit',
35 'RequestMode',
36 'Response',
37 'Window',
38]
39
40#[dev-dependencies]
41#wasm-bindgen-test = "0.3.13"
42