[package]
edition = "2024"
rust-version = "1.90"
name = "quickgui"
version = "0.1.6"
build = "build.rs"
include = [
"/build.rs",
"/src/**",
"/Cargo.lock",
"/CHANGELOG.md",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/THIRD_PARTY_NOTICES.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A damage-driven, GPU-accelerated desktop GUI foundation"
documentation = "https://docs.rs/quickgui"
readme = "README.md"
keywords = [
"gui",
"wgpu",
"desktop",
"graphics",
]
categories = [
"gui",
"graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/egoist/quickgui"
[features]
bundled-languages = [
"editor",
"dep:tree-sitter-bash",
"dep:tree-sitter-cpp",
"dep:tree-sitter-css",
"dep:tree-sitter-go",
"dep:tree-sitter-html",
"dep:tree-sitter-java",
"dep:tree-sitter-javascript",
"dep:tree-sitter-json",
"dep:tree-sitter-markdown",
"dep:tree-sitter-python",
"dep:tree-sitter-ruby",
"dep:tree-sitter-rust",
"dep:tree-sitter-sequel",
"dep:tree-sitter-swift",
"dep:tree-sitter-toml-ng",
"dep:tree-sitter-typescript",
"dep:tree-sitter-yaml",
]
crash-reporter = ["quickgui-system/crash-reporter"]
default = ["crash-reporter"]
editor = [
"text-input-decorations",
"dep:imara-diff",
"dep:tree-sitter-highlight",
"dep:tree-sitter",
]
file-watcher = ["quickgui-system/file-watcher"]
inspector = []
language-packs = [
"editor",
"tree-sitter/wasm",
"dep:tar",
"dep:sha2",
]
markdown = ["dep:pulldown-cmark"]
swift-ui = []
terminal = [
"dep:libghostty-vt",
"dep:portable-pty",
]
test-support = []
text-input-decorations = []
updater = [
"dep:base64",
"dep:ed25519-dalek",
"dep:roxmltree",
"dep:semver",
"dep:url",
"dep:ureq",
"dep:tempfile",
"dep:tar",
"dep:block2_06",
"dep:objc2_06",
"dep:objc2_foundation_03",
]
[lib]
name = "quickgui"
path = "src/lib.rs"
[dependencies.accesskit]
version = "0.24.1"
[dependencies.accesskit_winit]
version = "=0.1.6"
package = "quickgui-accesskit-winit"
[dependencies.async-task]
version = "4.7"
[dependencies.bitflags]
version = "2.9"
[dependencies.bytemuck]
version = "1.23"
features = ["derive"]
[dependencies.flate2]
version = "1.1"
[dependencies.glyphon]
version = "=0.1.6"
package = "quickgui-glyphon"
[dependencies.image-codecs]
version = "0.25.10"
features = [
"gif",
"jpeg",
"png",
"tiff",
"webp",
]
default-features = false
package = "image"
[dependencies.imara-diff]
version = "0.2.0"
optional = true
[dependencies.libghostty-vt]
version = "0.2.1"
optional = true
default-features = false
[dependencies.lyon]
version = "1.0.19"
default-features = false
[dependencies.naga]
version = "30.0.1"
features = ["wgsl-in"]
[dependencies.pollster]
version = "0.4"
[dependencies.portable-pty]
version = "0.9.0"
optional = true
[dependencies.pulldown-cmark]
version = "0.13"
optional = true
[dependencies.quickgui-extension-sdk]
version = "=0.1.6"
[dependencies.quickgui-system]
version = "=0.1.6"
default-features = false
[dependencies.resvg]
version = "0.46.0"
features = [
"text",
"system-fonts",
"memmap-fonts",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.taffy]
version = "0.13.0"
features = [
"std",
"taffy_tree",
"flexbox",
"grid",
"block_layout",
"content_size",
]
default-features = false
[dependencies.tar]
version = "0.4"
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tree-sitter]
version = "=0.26.7"
optional = true
[dependencies.tree-sitter-bash]
version = "0.25.1"
optional = true
[dependencies.tree-sitter-cpp]
version = "0.23.4"
optional = true
[dependencies.tree-sitter-css]
version = "0.25.0"
optional = true
[dependencies.tree-sitter-go]
version = "0.25.0"
optional = true
[dependencies.tree-sitter-highlight]
version = "=0.26.7"
optional = true
[dependencies.tree-sitter-html]
version = "0.23.2"
optional = true
[dependencies.tree-sitter-java]
version = "0.23.5"
optional = true
[dependencies.tree-sitter-javascript]
version = "0.25.0"
optional = true
[dependencies.tree-sitter-json]
version = "0.24.8"
optional = true
[dependencies.tree-sitter-markdown]
version = "0.5.6"
optional = true
package = "tree-sitter-md-025"
[dependencies.tree-sitter-python]
version = "0.25.0"
optional = true
[dependencies.tree-sitter-ruby]
version = "0.23.1"
optional = true
[dependencies.tree-sitter-rust]
version = "0.24.2"
optional = true
[dependencies.tree-sitter-sequel]
version = "0.3.11"
optional = true
[dependencies.tree-sitter-swift]
version = "0.7.3"
optional = true
[dependencies.tree-sitter-toml-ng]
version = "0.7.0"
optional = true
[dependencies.tree-sitter-typescript]
version = "0.23.2"
optional = true
[dependencies.tree-sitter-yaml]
version = "0.7.2"
optional = true
[dependencies.unicode-segmentation]
version = "1.12"
[dependencies.web-time]
version = "1.1"
[dependencies.wgpu]
version = "30.0.1"
features = [
"std",
"wgsl",
]
default-features = false
[dependencies.winit]
version = "=0.1.6"
package = "quickgui-winit"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tempfile]
version = "3.23"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.tree-sitter-lua]
version = "0.5.0"
[dev-dependencies.tree-sitter-rust]
version = "0.24.2"
[dev-dependencies.ureq]
version = "3.4"
features = ["json"]
[target.'cfg(all(not(target_os = "macos"), not(target_arch = "wasm32")))'.dependencies.arboard]
version = "3.6.1"
features = ["image-data"]
default-features = false
[target.'cfg(all(not(target_os = "macos"), not(target_arch = "wasm32")))'.dependencies.opener]
version = "0.8.5"
features = ["reveal"]
[target.'cfg(all(not(target_os = "macos"), not(target_arch = "wasm32")))'.dependencies.tempfile]
version = "3.23"
optional = true
[target.'cfg(all(not(target_os = "macos"), not(target_arch = "wasm32")))'.dependencies.ureq]
version = "3.4"
optional = true
[target.'cfg(all(unix, not(target_os = "macos"), not(target_arch = "wasm32")))'.dependencies.wgpu]
version = "30.0.1"
features = [
"gles",
"vulkan",
]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))'.dependencies.rfd]
version = "0.17.2"
features = [
"xdg-portal",
"wayland",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))'.dependencies.interprocess]
version = "2.4.3"
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.tray-icon]
version = "0.24.2"
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "linux"))'.dependencies.global-hotkey]
version = "0.8.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64]
version = "0.22"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ed25519-dalek]
version = "2.2"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.quickgui-system]
version = "=0.1.6"
features = [
"autostart",
"protocol",
"secure-storage",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.roxmltree]
version = "0.21"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.semver]
version = "1.0"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.url]
version = "2.5"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"CssStyleDeclaration",
"Document",
"Element",
"HtmlCanvasElement",
"HtmlElement",
"Node",
"console",
"CustomEvent",
"Window",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgpu]
version = "30.0.1"
features = [
"webgpu",
"webgl",
"naga-ir",
"fragile-send-sync-non-atomic-wasm",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.ashpd]
version = "0.13.13"
features = [
"async-io",
"notification",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.ksni]
version = "0.3.6"
features = [
"async-io",
"blocking",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5.19.0"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.5.1"
[target.'cfg(target_os = "macos")'.dependencies.block2_06]
version = "0.6"
optional = true
package = "block2"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.9.4"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.5.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.2.2"
features = [
"NSAccessibility",
"NSAccessibilityConstants",
"NSAccessibilityProtocols",
"NSAlert",
"NSApplication",
"NSBitmapImageRep",
"NSBox",
"NSButton",
"NSButtonCell",
"NSCell",
"NSColor",
"NSControl",
"NSDockTile",
"NSDocumentController",
"NSDragging",
"NSDraggingItem",
"NSDraggingSession",
"NSEvent",
"NSGraphics",
"NSGraphicsContext",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSOpenPanel",
"NSPanel",
"NSPasteboard",
"NSResponder",
"NSRunningApplication",
"NSSavePanel",
"NSScreen",
"NSTextField",
"NSView",
"NSVisualEffectView",
"NSWindow",
"NSWindowTabGroup",
"NSWorkspace",
"block2",
"objc2-quartz-core",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.2.2"
features = [
"NSArray",
"NSAttributedString",
"NSBundle",
"NSDictionary",
"NSError",
"NSFileManager",
"NSGeometry",
"NSNotification",
"NSOperation",
"NSProcessInfo",
"NSRange",
"NSSet",
"NSString",
"NSURL",
"NSUUID",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.2.2"
features = [
"CALayer",
"CAMetalLayer",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-user-notifications]
version = "0.2.2"
features = [
"UNNotification",
"UNNotificationAction",
"UNNotificationAttachment",
"UNNotificationCategory",
"UNNotificationContent",
"UNNotificationRequest",
"UNNotificationResponse",
"UNNotificationSettings",
"UNNotificationSound",
"UNNotificationTrigger",
"UNUserNotificationCenter",
"block2",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2_06]
version = "0.6"
optional = true
package = "objc2"
[target.'cfg(target_os = "macos")'.dependencies.objc2_foundation_03]
version = "0.3"
features = [
"NSObject",
"NSString",
"NSBundle",
"NSThread",
]
optional = true
package = "objc2-foundation"
[target.'cfg(target_os = "macos")'.dependencies.raw-window-metal]
version = "1.1.0"
[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "30.0.1"
features = ["metal"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.dunce]
version = "1.0.5"
[target.'cfg(target_os = "windows")'.dependencies.interprocess]
version = "2.4.3"
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.rfd]
version = "0.17.2"
features = ["common-controls-v6"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.wgpu]
version = "30.0.1"
features = ["dx12"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "=0.62.0"
features = [
"Data_Xml_Dom",
"Foundation",
"Foundation_Collections",
"UI_Notifications",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Storage_FileSystem",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Variant",
"Win32_UI_Shell",
"Win32_UI_Shell_Common",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_WindowsAndMessaging",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_LibraryLoader",
"Win32_System_Registry",
"Win32_System_RemoteDesktop",
"Win32_System_Threading",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.dev]
opt-level = 3
debug-assertions = false
[profile.dev.package."*"]
opt-level = 3
[profile.docs-wasm]
opt-level = "s"
lto = "thin"
inherits = "release"
strip = "debuginfo"
[profile.release]
lto = "thin"
codegen-units = 1