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