slint/examples/todo/rust/Cargo.toml
2025-06-26 13:30:43 +00:00

35 lines
792 B
TOML

# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT
[package]
name = "todo"
version = "1.13.0"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
build = "build.rs"
publish = false
license = "MIT"
[lib]
crate-type = ["lib", "cdylib"]
path = "lib.rs"
name = "todo_lib"
[[bin]]
path = "main.rs"
name = "todo"
[dependencies]
slint = { path = "../../../api/rs/slint", features = ["serde", "backend-android-activity-06"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2" }
console_error_panic_hook = "0.1.5"
[build-dependencies]
slint-build = { path = "../../../api/rs/build" }
[dev-dependencies]
i-slint-backend-testing = { workspace = true }