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

[workspace]
members = [
    'api/cpp',
    'api/node',
    'api/rs/build',
    'api/rs/macros',
    'api/rs/slint',
    'api/python',
    'api/wasm-interpreter',
    'docs/tutorial/rust/src',
    'examples/7guis',
    'examples/gallery',
    'examples/imagefilter/rust',
    'examples/memory',
    'examples/opengl_underlay',
    'examples/opengl_texture',
    'examples/ffmpeg',
    'examples/gstreamer-player',
    'examples/plotter',
    'examples/printerdemo_old/rust',
    'examples/printerdemo/rust',
    'examples/printerdemo_mcu',
    'examples/slide_puzzle',
    'examples/todo/rust',
    'examples/virtual_keyboard/rust',
    'examples/carousel/rust',
    'examples/energy-monitor',
    'examples/mcu-board-support',
    'examples/uefi-demo',
    'helper_crates/const-field-offset',
    'helper_crates/vtable',
    'helper_crates/vtable/macro',
    'internal/backends/winit',
    'internal/backends/android-activity',
    'internal/backends/qt',
    'internal/backends/selector',
    'internal/backends/testing',
    'internal/backends/linuxkms',
    'internal/renderers/skia',
    'internal/renderers/femtovg',
    'internal/common',
    'internal/compiler',
    'internal/compiler/parser-test-macro',
    'internal/core',
    'internal/core-macros',
    'internal/interpreter',
    'tests/doctests',
    'tests/driver/cpp',
    'tests/driver/driverlib',
    'tests/driver/interpreter',
    'tests/driver/nodejs',
    'tests/driver/rust',
    'tests/screenshots',
    'tools/compiler',
    'tools/figma_import',
    'tools/lsp',
    'tools/updater',
    'tools/viewer',
    'tools/tr-extractor',
    'xtask',
]

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.1 OR LicenseRef-Slint-commercial"
repository = "https://github.com/slint-ui/slint"
rust-version = "1.70"
version = "1.5.1"

[workspace.dependencies]
i-slint-backend-android-activity = { version = "=1.5.1", path = "internal/backends/android-activity", default-features = false }
i-slint-backend-linuxkms = { version = "=1.5.1", path = "internal/backends/linuxkms", default-features = false }
i-slint-backend-qt = { version = "=1.5.1", path="internal/backends/qt", default-features = false }
i-slint-backend-selector = { version = "=1.5.1", path = "internal/backends/selector", default-features = false }
i-slint-backend-testing = { version = "=1.5.1", path = "internal/backends/testing", default-features = false }
i-slint-backend-winit = { version = "=1.5.1", path = "internal/backends/winit", default-features = false }
i-slint-common = { version = "=1.5.1", path = "internal/common", default-features = false }
i-slint-compiler = { version = "=1.5.1", path = "internal/compiler", default-features = false }
i-slint-core = { version = "=1.5.1", path = "internal/core", default-features = false }
i-slint-core-macros = { version = "=1.5.1", path = "internal/core-macros", default-features = false }
i-slint-renderer-femtovg = { version = "=1.5.1", path = "internal/renderers/femtovg", default-features = false }
i-slint-renderer-skia = { version = "=1.5.1", path = "internal/renderers/skia", default-features = false }
slint = { version = "=1.5.1", path = "api/rs/slint", default-features = false }
slint-build = { version = "=1.5.1", path = "api/rs/build", default-features = false }
slint-cpp = { version = "=1.5.1", path = "api/cpp", default-features = false }
slint-interpreter = { version = "=1.5.1", path = "internal/interpreter", default_features = false }
slint-macros = { version = "=1.5.1", 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 }
itertools = { version = "0.12" }
resvg = { version= "0.40.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" }

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

[profile.dev]
panic = "abort"
