# 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.64"
name = "slint-interpreter"
version = "0.3.3"
authors = ["Slint Developers <info@slint-ui.com>"]
description = "Interpreter library for Slint"
homepage = "https://slint-ui.com"
keywords = [
    "gui",
    "toolkit",
    "graphics",
    "design",
    "ui",
]
categories = [
    "gui",
    "rendering::engine",
]
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
repository = "https://github.com/slint-ui/slint"

[package.metadata.docs.rs]
features = [
    "display-diagnostics",
    "document-features",
]

[lib]
path = "lib.rs"

[dependencies.derive_more]
version = "0.99.5"

[dependencies.document-features]
version = "0.2.0"
optional = true

[dependencies.generativity]
version = "1"

[dependencies.i-slint-backend-selector]
version = "=0.3.3"
features = ["rtti"]

[dependencies.i-slint-common]
version = "=0.3.3"

[dependencies.i-slint-compiler]
version = "=0.3.3"

[dependencies.i-slint-core]
version = "=0.3.3"
features = ["rtti"]

[dependencies.lyon_path]
version = "1.0"

[dependencies.once_cell]
version = "1.5"

[dependencies.spin_on]
version = "0.1"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.vtable]
version = "0.1.6"

[dev-dependencies.spin_on]
version = "0.1"

[features]
backend-qt = [
    "i-slint-backend-selector/i-slint-backend-qt",
    "std",
]
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-0-2-0 = ["compat-0-3-0"]
compat-0-3-0 = []
default = [
    "std",
    "backend-winit",
    "renderer-winit-femtovg",
    "backend-qt",
    "compat-0-3-0",
]
display-diagnostics = ["i-slint-compiler/display-diagnostics"]
ffi = [
    "spin_on",
    "i-slint-core/ffi",
]
highlight = []
renderer-winit-femtovg = [
    "i-slint-backend-selector/renderer-winit-femtovg",
    "std",
]
renderer-winit-skia = [
    "i-slint-backend-selector/renderer-winit-skia",
    "std",
]
renderer-winit-skia-opengl = [
    "i-slint-backend-selector/renderer-winit-skia-opengl",
    "std",
]
renderer-winit-software = ["i-slint-backend-selector/renderer-winit-software"]
std = ["i-slint-core/std"]

[target."cfg(target_arch = \"wasm32\")".dependencies.i-slint-backend-winit]
version = "=0.3.3"
