1# Copyright © SixtyFPS GmbH <info@slint.dev>
2# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4[package]
5name = "i-slint-backend-testing"
6description = "OpenGL rendering backend for Slint"
7authors.workspace = true
8edition.workspace = true
9homepage.workspace = true
10license.workspace = true
11repository.workspace = true
12rust-version.workspace = true
13version.workspace = true
14build = "build.rs"
15
16[lib]
17path = "lib.rs"
18
19[features]
20# Internal feature that is only enabled for Slint's own tests
21internal = []
22# ffi for C++ bindings
23ffi = []
24system-testing = ["quick-protobuf", "pb-rs", "generational-arena", "async-net", "futures-lite", "byteorder", "image"]
25
26[dependencies]
27i-slint-core = { workspace = true, features = ["std"] }
28vtable = { workspace = true }
29quick-protobuf = { version = "0.8.1", optional = true }
30generational-arena = { version = "0.2.9", optional = true }
31async-net = { version = "2.0.0", optional = true }
32futures-lite = { version = "2.3.0", optional = true }
33byteorder = { version = "1.5.0", optional = true }
34image = { workspace = true, optional = true, features = ["png"] }
35
36[build-dependencies]
37pb-rs = { version = "0.10.0", optional = true, default-features = false }
38
39[dev-dependencies]
40slint = { path = "../../../api/rs/slint", default-features = false, features = ["std", "compat-1-2"] }
41i-slint-core-macros = { path = "../../core-macros" }
42i-slint-common = { path = "../../common" }
43