1# Copyright © SixtyFPS GmbH <info@slint.dev>
2# SPDX-License-Identifier: MIT
3
4[package]
5name = "opengl_underlay"
6version = "1.5.1"
7authors = ["Slint Developers <info@slint.dev>"]
8edition = "2021"
9build = "build.rs"
10license = "MIT"
11publish = false
12
13[[bin]]
14path = "main.rs"
15name = "opengl_underlay"
16
17[dependencies]
18slint = { path = "../../api/rs/slint" }
19glow = { version = "0.13" }
20web-time = { version = "1.0" }
21
22[build-dependencies]
23slint-build = { path = "../../api/rs/build" }
24
25# Remove the `#wasm#` to uncomment the wasm build.
26# This is commented out by default because we don't want to build it as a library by default
27# The CI has a script that does sed "s/#wasm# //" to generate the wasm build.
28
29#wasm# [lib]
30#wasm# crate-type = ["cdylib"]
31#wasm# path = "main.rs"
32#wasm#
33#wasm# [target.'cfg(target_arch = "wasm32")'.dependencies]
34#wasm# wasm-bindgen = { version = "0.2" }
35#wasm# web-sys = { version = "0.3", features=["console"] }
36#wasm# console_error_panic_hook = "0.1.5"
37