| 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] |
| 5 | name = "i-slint-backend-testing" |
| 6 | description = "OpenGL rendering backend for Slint" |
| 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 | build = "build.rs" |
| 15 | |
| 16 | [lib] |
| 17 | path = "lib.rs" |
| 18 | |
| 19 | [features] |
| 20 | # Internal feature that is only enabled for Slint's own tests |
| 21 | internal = [] |
| 22 | # ffi for C++ bindings |
| 23 | ffi = [] |
| 24 | system-testing = ["quick-protobuf" , "pb-rs" , "generational-arena" , "async-net" , "futures-lite" , "byteorder" , "image" ] |
| 25 | |
| 26 | [dependencies] |
| 27 | i-slint-core = { workspace = true, features = ["std" ] } |
| 28 | vtable = { workspace = true } |
| 29 | quick-protobuf = { version = "0.8.1" , optional = true } |
| 30 | generational-arena = { version = "0.2.9" , optional = true } |
| 31 | async-net = { version = "2.0.0" , optional = true } |
| 32 | futures-lite = { version = "2.3.0" , optional = true } |
| 33 | byteorder = { version = "1.5.0" , optional = true } |
| 34 | image = { workspace = true, optional = true, features = ["png" ] } |
| 35 | |
| 36 | [build-dependencies] |
| 37 | pb-rs = { version = "0.10.0" , optional = true, default-features = false } |
| 38 | |
| 39 | [dev-dependencies] |
| 40 | slint = { path = "../../../api/rs/slint" , default-features = false, features = ["std" , "compat-1-2" ] } |
| 41 | i-slint-core-macros = { path = "../../core-macros" } |
| 42 | i-slint-common = { path = "../../common" } |
| 43 | |