slint/api/wasm-interpreter/Cargo.toml
Olivier Goffart 8450e01a3f
Change the name of the compat feature (#2230)
And remove the compat-0-2-0 and compat-0-3-0 features
2023-02-16 09:40:44 +01:00

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"