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]
5name = "slint-docsnapper"
6description = "Screenshot tool for slint docs"
7authors.workspace = true
8edition.workspace = true
9homepage.workspace = true
10license.workspace = true
11repository.workspace = true
12rust-version.workspace = true
13version.workspace = true
14categories = ["gui", "development-tools", "command-line-utilities"]
15keywords = ["viewer", "gui", "ui", "toolkit"]
16
17[dependencies]
18i-slint-compiler = { workspace = true }
19i-slint-core = { workspace = true }
20slint-interpreter = { workspace = true, features = ["display-diagnostics", "compat-1-2", "internal", "accessibility"] }
21i-slint-renderer-skia = { workspace = true, features = ["default", "wayland"] }
22
23clap = { workspace = true }
24itertools = { workspace = true }
25spin_on = { workspace = true }
26walkdir = { version = "2.5" }
27
28# Enable image-rs' default features to make all image formats available for preview
29image = { workspace = true, features = ["default"] }
30
31[[bin]]
32name = "slint-docsnapper"
33path = "main.rs"
34