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

[workspace]
members = ["api/python"]

default-members = [
    'api/rs/build',
    'api/rs/slint',
    'examples/gallery',
    'examples/memory',
    'examples/printerdemo_old/rust',
    'examples/printerdemo/rust',
    'examples/slide_puzzle',
    'examples/todo/rust',
    'examples/virtual_keyboard/rust',
    'examples/carousel/rust',
    'examples/energy-monitor',
    'internal/backends/winit',
    'internal/backends/qt',
    'internal/backends/selector',
    'internal/compiler',
    'internal/core',
    'internal/interpreter',
    'tests/doctests',
    'tests/driver/interpreter',
    'tests/driver/rust',
    'tests/screenshots',
    'tools/compiler',
    'tools/figma_import',
    'tools/lsp',
    'tools/viewer',
]

resolver="2"

[workspace.package]
description = "GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications"
authors = ["Slint Developers <info@slint.dev>"]
documentation = "https://slint.dev/docs"
edition = "2021"
homepage = "https://slint.dev"
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial"
repository = "https://github.com/slint-ui/slint"
rust-version = "1.73"
version = "1.6.0"

[workspace.dependencies]
i-slint-backend-android-activity = { version = "=1.6.0", path = "internal/backends/android-activity", default-features = false }
i-slint-backend-linuxkms = { version = "=1.6.0", path = "internal/backends/linuxkms", default-features = false }
i-slint-backend-qt = { version = "=1.6.0", path="internal/backends/qt", default-features = false }
i-slint-backend-selector = { version = "=1.6.0", path = "internal/backends/selector", default-features = false }
i-slint-backend-testing = { version = "=1.6.0", path = "internal/backends/testing", default-features = false }
i-slint-backend-winit = { version = "=1.6.0", path = "internal/backends/winit", default-features = false }
i-slint-common = { version = "=1.6.0", path = "internal/common", default-features = false }
i-slint-compiler = { version = "=1.6.0", path = "internal/compiler", default-features = false }
i-slint-core = { version = "=1.6.0", path = "internal/core", default-features = false }
i-slint-core-macros = { version = "=1.6.0", path = "internal/core-macros", default-features = false }
i-slint-renderer-femtovg = { version = "=1.6.0", path = "internal/renderers/femtovg", default-features = false }
i-slint-renderer-skia = { version = "=1.6.0", path = "internal/renderers/skia", default-features = false }
slint = { version = "=1.6.0", path = "api/rs/slint", default-features = false }
slint-build = { version = "=1.6.0", path = "api/rs/build", default-features = false }
slint-cpp = { version = "=1.6.0", path = "api/cpp", default-features = false }
slint-interpreter = { version = "=1.6.0", path = "internal/interpreter", default-features = false }
slint-macros = { version = "=1.6.0", path = "api/rs/macros", default-features = false }

vtable = { version = "0.2", path = "helper_crates/vtable", default-features = false }

bytemuck = { version = "1.13.1" }
cbindgen = { version = "0.26", default-features = false }
css-color-parser2 = { version = "1.0.1" }
fontdb = { version = "0.16.0", default-features = false }
fontdue = { version = "0.8.0" }
glutin = { version = "0.31.1", default-features = false }
image = { version = "0.24", default-features = false, features = [ "png", "jpeg" ] }
itertools = { version = "0.12" }
resvg = { version= "0.41.0", default-features = false, features = ["text"] }
send_wrapper = { version = "0.6.0" }
softbuffer = { version = "0.3.3", default-features = false }
strum = { version = "0.26.1", default-features = false, features = ["derive"] }
toml_edit = { version = "0.22.7" }
cfg_aliases = { version = "0.2.0" }

raw-window-handle-06 = { package = "raw-window-handle", version = "0.6", features = ["alloc"] }

[profile.release]
lto = true
panic = "abort"

[profile.dev]
panic = "abort"
