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