# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.73" name = "slint" version = "1.8.0" authors = ["Slint Developers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications" homepage = "https://slint.rs" documentation = "https://slint.dev/docs" readme = "README.md" keywords = [ "gui", "toolkit", "graphics", "design", "ui", ] categories = [ "gui", "rendering::engine", "no-std", ] license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0" repository = "https://github.com/slint-ui/slint" [package.metadata.docs.rs] features = [ "document-features", "log", "gettext", "renderer-software", "renderer-femtovg", "raw-window-handle-06", ] rustdoc-args = [ "--html-in-header", "docs/resources/slint-docs-highlight.html", ] [lib] name = "slint" path = "lib.rs" [[test]] name = "partial_renderer" path = "tests/partial_renderer.rs" [[test]] name = "show_strongref" path = "tests/show_strongref.rs" [[test]] name = "simple_macro" path = "tests/simple_macro.rs" [[test]] name = "spawn_local" path = "tests/spawn_local.rs" [[test]] name = "tokio" path = "tests/tokio.rs" [[test]] name = "tokio_block_in_place" path = "tests/tokio_block_in_place.rs" [dependencies.const-field-offset] version = "0.1.2" [dependencies.document-features] version = "0.2.0" optional = true [dependencies.i-slint-backend-selector] version = "=1.8.0" default-features = false [dependencies.i-slint-core] version = "=1.8.0" default-features = false [dependencies.log] version = "0.4.17" optional = true [dependencies.num-traits] version = "0.2" default-features = false [dependencies.once_cell] version = "1.5" features = ["alloc"] default-features = false [dependencies.pin-weak] version = "1.1" default-features = false [dependencies.raw-window-handle-06] version = "0.6" features = ["alloc"] optional = true package = "raw-window-handle" [dependencies.slint-macros] version = "=1.8.0" default-features = false [dependencies.vtable] version = "0.2" default-features = false [dev-dependencies.async-compat] version = "0.2.4" [dev-dependencies.serde] version = "1.0.163" features = ["derive"] default-features = false [dev-dependencies.serde_json] version = "1.0.96" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "sync", "net", "io-util", ] [features] accessibility = ["i-slint-backend-selector/accessibility"] backend-android-activity-05 = [ "i-slint-backend-android-activity/native-activity", "i-slint-backend-android-activity/aa-05", ] backend-android-activity-06 = [ "i-slint-backend-android-activity/native-activity", "i-slint-backend-android-activity/aa-06", ] backend-default = [ "i-slint-backend-selector/default", "i-slint-backend-qt", ] backend-linuxkms = [ "i-slint-backend-selector/backend-linuxkms", "std", ] backend-linuxkms-noseat = [ "i-slint-backend-selector/backend-linuxkms-noseat", "std", ] backend-qt = [ "i-slint-backend-selector/backend-qt", "std", "i-slint-backend-qt", ] backend-winit = [ "i-slint-backend-selector/backend-winit", "std", ] backend-winit-wayland = [ "i-slint-backend-selector/backend-winit-wayland", "std", ] backend-winit-x11 = [ "i-slint-backend-selector/backend-winit-x11", "std", ] compat-1-0 = [ "compat-1-2", "renderer-software", ] compat-1-2 = [] default = [ "std", "backend-default", "renderer-femtovg", "renderer-software", "accessibility", "compat-1-2", ] gettext = ["i-slint-core/gettext-rs"] libm = ["i-slint-core/libm"] log = ["dep:log"] raw-window-handle-06 = [ "dep:raw-window-handle-06", "i-slint-backend-selector/raw-window-handle-06", ] renderer-femtovg = [ "i-slint-backend-selector/renderer-femtovg", "dep:i-slint-renderer-femtovg", "std", ] renderer-skia = [ "i-slint-backend-selector/renderer-skia", "std", ] renderer-skia-opengl = [ "i-slint-backend-selector/renderer-skia-opengl", "std", ] renderer-skia-vulkan = [ "i-slint-backend-selector/renderer-skia-vulkan", "std", ] renderer-software = [ "i-slint-backend-selector/renderer-software", "i-slint-core/software-renderer", ] renderer-winit-femtovg = ["renderer-femtovg"] renderer-winit-skia = ["renderer-skia"] renderer-winit-skia-opengl = ["renderer-skia-opengl"] renderer-winit-skia-vulkan = ["renderer-skia-vulkan"] renderer-winit-software = ["renderer-software"] serde = ["i-slint-core/serde"] software-renderer-systemfonts = [ "renderer-software", "i-slint-core/software-renderer-systemfonts", ] std = ["i-slint-core/std"] unsafe-single-threaded = ["i-slint-core/unsafe-single-threaded"] [target.'cfg(not(target_os = "android"))'.dependencies.i-slint-renderer-femtovg] version = "=1.8.0" optional = true default-features = false [target.'cfg(target_os = "android")'.dependencies.i-slint-backend-android-activity] version = "=1.8.0" optional = true default-features = false [target.'cfg(target_os = "linux")'.dependencies.i-slint-backend-qt] version = "=1.8.0" features = ["enable"] optional = true default-features = false