mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
|
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
|
|
|
[package]
|
|
name = "slint-wasm-interpreter"
|
|
version = "1.0.0"
|
|
authors = ["Slint Developers <info@slint-ui.com>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
|
|
publish = false
|
|
description = "Slint wasm glue"
|
|
repository = "https://github.com/slint-ui/slint"
|
|
homepage = "https://slint-ui.com"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
highlight = ["slint-interpreter/highlight"]
|
|
|
|
[dependencies]
|
|
slint-interpreter = { path = "../../internal/interpreter", default-features = false, features = ["std", "backend-winit", "renderer-winit-femtovg", "compat-1-0"] }
|
|
|
|
vtable = { version = "0.1.6", path="../../helper_crates/vtable" }
|
|
|
|
console_error_panic_hook = { version = "0.1.6", optional = true }
|
|
js-sys = "0.3.44"
|
|
wasm-bindgen-futures = { version = "0.4.18" }
|
|
wasm-bindgen = { version = "0.2.66" }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
'Request',
|
|
'RequestInit',
|
|
'RequestMode',
|
|
'Response',
|
|
'Window',
|
|
]
|
|
|
|
#[dev-dependencies]
|
|
#wasm-bindgen-test = "0.3.13"
|