forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (47 loc) · 2.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
[package]
name = "slint-viewer"
version = "1.0.3"
authors = ["Slint Developers <[email protected]>"]
edition = "2021"
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
description = "The viewer binary for Slint"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint-ui.com"
categories = ["gui", "development-tools"]
keywords = ["viewer", "gui", "ui", "toolkit"]
[features]
backend-qt = ["slint-interpreter/backend-qt"]
eventloop-qt = ["backend-qt"]
renderer-winit-qt = ["backend-qt"]
backend-winit = ["slint-interpreter/backend-winit"]
backend-winit-wayland = ["slint-interpreter/backend-winit-wayland"]
backend-winit-x11 = ["slint-interpreter/backend-winit-x11"]
renderer-winit-femtovg = ["slint-interpreter/renderer-winit-femtovg"]
renderer-winit-skia = ["slint-interpreter/renderer-winit-skia"]
renderer-winit-skia-opengl = ["slint-interpreter/renderer-winit-skia-opengl"]
renderer-winit-skia-vulkan = ["slint-interpreter/renderer-winit-skia-vulkan"]
# Compat
backend-gl-all = ["backend-winit", "renderer-winit-femtovg"]
backend-gl-wayland = ["backend-winit-wayland", "renderer-winit-femtovg"]
backend-gl-x11 = ["backend-winit-x11", "renderer-winit-femtovg"]
default = ["backend-qt", "backend-winit", "renderer-winit-femtovg"]
[dependencies]
i-slint-core = { version = "=1.0.3", path="../../internal/core", features = ["gettext-rs"] }
slint-interpreter = { version = "=1.0.3", path = "../../internal/interpreter", default-features = false, features = ["display-diagnostics", "compat-1-0"] }
i-slint-backend-selector = { version = "=1.0.3", path="../../internal/backends/selector" }
vtable = { version = "0.1.6", path="../../helper_crates/vtable" }
clap = { version = "4.0", features = ["derive", "wrap_help"] }
codemap = "0.1"
codemap-diagnostic = "0.1.1"
notify = { version = "5.0.0", default-features = false, features = ["macos_kqueue"] }
serde_json = "1"
shlex = "1"
spin_on = "0.1"
env_logger = "0.10.0"
# Enable image-rs' default features to make all image formats available for preview
image = { version = "0.24.0" }
[[bin]]
name = "slint-viewer"
path = "main.rs"