# 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-viewer" version = "1.8.0" authors = ["Slint Developers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The viewer binary for Slint" homepage = "https://slint.dev" readme = "README.md" keywords = [ "viewer", "gui", "ui", "toolkit", ] categories = [ "gui", "development-tools", "command-line-utilities", ] 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" [[bin]] name = "slint-viewer" path = "main.rs" [dependencies.clap] version = "4.0" features = [ "derive", "wrap_help", ] [dependencies.codemap] version = "0.1" [dependencies.codemap-diagnostic] version = "0.1.1" [dependencies.env_logger] version = "0.11.0" [dependencies.i-slint-backend-selector] version = "=1.8.0" default-features = false [dependencies.i-slint-compiler] version = "=1.8.0" default-features = false [dependencies.i-slint-core] version = "=1.8.0" default-features = false [dependencies.image] version = "0.24" features = [ "png", "jpeg", "default", ] default-features = false [dependencies.itertools] version = "0.13" [dependencies.notify] version = "6.0.0" features = ["macos_kqueue"] default-features = false [dependencies.serde_json] version = "1.0.96" [dependencies.shlex] version = "1" [dependencies.slint-interpreter] version = "=1.8.0" features = [ "display-diagnostics", "compat-1-2", "internal", "accessibility", ] default-features = false [dependencies.spin_on] version = "0.1" [features] backend-default = ["slint-interpreter/backend-default"] backend-gl-all = [ "backend-winit", "renderer-femtovg", ] backend-gl-wayland = [ "backend-winit-wayland", "renderer-femtovg", ] backend-gl-x11 = [ "backend-winit-x11", "renderer-femtovg", ] backend-linuxkms = ["slint-interpreter/backend-linuxkms"] backend-linuxkms-noseat = ["slint-interpreter/backend-linuxkms-noseat"] backend-qt = ["slint-interpreter/backend-qt"] backend-winit = ["slint-interpreter/backend-winit"] backend-winit-wayland = ["slint-interpreter/backend-winit-wayland"] backend-winit-x11 = ["slint-interpreter/backend-winit-x11"] default = [ "backend-default", "renderer-femtovg", "renderer-software", ] eventloop-qt = ["backend-qt"] gettext = ["i-slint-core/gettext-rs"] renderer-femtovg = ["slint-interpreter/renderer-femtovg"] renderer-skia = ["slint-interpreter/renderer-skia"] renderer-skia-opengl = ["slint-interpreter/renderer-skia-opengl"] renderer-skia-vulkan = ["slint-interpreter/renderer-skia-vulkan"] renderer-software = ["slint-interpreter/renderer-software"] renderer-winit-femtovg = ["renderer-femtovg"] renderer-winit-qt = ["backend-qt"] renderer-winit-skia = ["renderer-skia"] renderer-winit-skia-opengl = ["renderer-skia-opengl"] renderer-winit-skia-vulkan = ["renderer-skia-vulkan"] renderer-winit-software = ["renderer-software"]