[package]
name = "slintplot-gallery"
version = "0.5.1"
description = "Sample browser for SlintPlot: every chart type, with live data editing, themes and dark mode"
license.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
homepage = "https://slintplot.dev"
keywords = ["slint", "chart", "plot", "gui", "demo"]
categories = ["gui", "visualization"]
readme = "README.md"
include = ["src/**", "ui/**", "build.rs", "icon.png", "logo.png", "logo-dark.png", "README.md", "LICENSE.md", "LICENSE-GPL-3.0.txt", "LICENSE-POLYFORM-NC.md", "COMMERCIAL.md"]
[dependencies]
slintplot.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
slint = { workspace = true, features = ["software-renderer-path", "unstable-winit-030"] }
png = "0.18"
[target.'cfg(target_arch = "wasm32")'.dependencies]
slint = { version = "1.18", default-features = false, features = ["std", "compat-1-2", "backend-winit", "renderer-femtovg"] }
wasm-bindgen = "0.2"
console_error_panic_hook = "0.1"
js-sys = "0.3"
[features]
skia = ["slint/renderer-skia"]
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-app-kit = "0.3"
objc2-foundation = "0.3"
[build-dependencies]
slint-build.workspace = true
slintplot.workspace = true