# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

[package]
name = "test-driver-rust"
description = "Driver for the rust-based tests in Slint"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
publish = false

[[bin]]
path = "main.rs"
name = "test-driver-rust"

[features]
build-time = ["i-slint-compiler", "spin_on"]

[dependencies]
slint = { workspace = true, features = ["std", "compat-1-2"] }
i-slint-backend-testing = { workspace = true, features = ["default"] }
slint-interpreter = { workspace = true, features = ["std", "compat-1-2", "internal"] }
spin_on = "0.1"

[build-dependencies]
i-slint-compiler = { workspace = true, features = ["default", "rust", "display-diagnostics"], optional = true }

spin_on = { version = "0.1", optional = true}
test_driver_lib = { path = "../driverlib" }
