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