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 = "test-driver-rust" |
6 | description = "Driver for the rust-based tests in 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 | publish = false |
15 | |
16 | [[bin]] |
17 | path = "main.rs" |
18 | name = "test-driver-rust" |
19 | |
20 | [features] |
21 | build-time = ["i-slint-compiler" , "spin_on" ] |
22 | |
23 | [dependencies] |
24 | slint = { workspace = true, features = ["std" , "compat-1-2" ] } |
25 | i-slint-backend-testing = { workspace = true, features = ["default" ] } |
26 | slint-interpreter = { workspace = true, features = ["std" , "compat-1-2" , "internal" ] } |
27 | spin_on = "0.1" |
28 | |
29 | [build-dependencies] |
30 | i-slint-compiler = { workspace = true, features = ["default" , "rust" , "display-diagnostics" ], optional = true } |
31 | |
32 | spin_on = { version = "0.1" , optional = true} |
33 | test_driver_lib = { path = "../driverlib" } |
34 | |