[build-dependencies.cxx-build]
optional = true
version = "1.0"
[build-dependencies.embed-resource]
version = "3"
[build-dependencies.qt-build-utils]
optional = true
version = "0.7"
[dependencies.cfg-if]
version = "1"
[dependencies.compio]
version = "0.14.0"
[dependencies.compio-log]
version = "0.1.0"
[dependencies.euclid]
version = "0.22"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-util]
features = ["alloc"]
version = "0.3"
[dependencies.image]
default-features = false
version = "0.25"
[dependencies.once_cell]
version = "1"
[dependencies.paste]
version = "1.0"
[dependencies.rgb]
version = "0.8"
[dependencies.scoped-tls]
version = "1.0"
[dependencies.slab]
version = "0.4"
[dependencies.taffy]
version = "0.8"
[dev-dependencies.compio]
features = ["time", "rustls", "ring"]
version = "0.14.0"
[dev-dependencies.cyper]
default-features = false
features = ["rustls", "http2", "http3-altsvc"]
version = "0.3.1"
[dev-dependencies.dirs]
version = "6.0"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.image]
default-features = false
features = ["default-formats"]
version = "0.25"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "fs"
path = "examples/fs.rs"
[[example]]
name = "gallery"
path = "examples/gallery.rs"
[[example]]
name = "mdi"
path = "examples/mdi.rs"
[[example]]
name = "net"
path = "examples/net.rs"
[[example]]
name = "widgets"
path = "examples/widgets.rs"
[features]
default = ["qt", "windows-dark-mode"]
enable_log = ["compio/enable_log", "compio-log/enable_log"]
gtk = ["dep:gtk4", "dep:pangocairo"]
nightly = ["compio/nightly", "cyper/nightly"]
objc-static = ["objc2/unstable-static-class-inlined", "objc2/unstable-static-sel-inlined", "objc2-foundation/unstable-static-nsstring"]
qt = ["dep:cxx", "dep:cxx-build", "dep:qt-build-utils"]
windows-dark-mode = ["dep:slim-detours-sys", "dep:sync-unsafe-cell"]
[lib]
name = "winio"
path = "src/lib.rs"
[package]
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["asynchronous", "gui"]
description = "Single-threaded async GUI runtime based on compio."
edition = "2021"
keywords = ["async", "gui"]
license = "MIT"
name = "winio"
readme = "README.md"
repository = "https://github.com/compio-rs/winio"
version = "0.5.0"
[profile.release]
codegen-units = 1
lto = true
[target.'cfg(not(any(windows, target_os = "macos")))'.dependencies.cxx]
features = ["c++17"]
optional = true
version = "1.0"
[target.'cfg(not(any(windows, target_os = "macos")))'.dependencies.gtk4]
features = ["v4_14"]
optional = true
version = "0.9"
[target.'cfg(not(any(windows, target_os = "macos")))'.dependencies.libc]
version = "0.2"
[target.'cfg(not(any(windows, target_os = "macos")))'.dependencies.pangocairo]
optional = true
version = "0.20"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
features = ["block2", "objc2-quartz-core", "objc2-uniform-type-identifiers", "NSAlert", "NSApplication", "NSAttributedString", "NSBitmapImageRep", "NSButton", "NSButtonCell", "NSCell", "NSColor", "NSColorSpace", "NSComboBox", "NSControl", "NSEvent", "NSFont", "NSFontDescriptor", "NSGraphics", "NSImage", "NSImageRep", "NSMatrix", "NSOpenPanel", "NSPanel", "NSProgressIndicator", "NSResponder", "NSRunningApplication", "NSSavePanel", "NSScreen", "NSSecureTextField", "NSStringDrawing", "NSText", "NSTextField", "NSTrackingArea", "NSView", "NSWindow", "NSWindowScripting"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
features = ["CFCGTypes", "CFFileDescriptor", "CFRunLoop"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
features = ["CGColor", "CGPath"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
features = ["NSAffineTransform", "NSAttributedString", "NSDate", "NSDictionary", "NSEnumerator", "NSNotification", "NSObjCRuntime", "NSRunLoop", "NSString", "NSThread", "NSURL", "NSUserDefaults"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
features = ["objc2-core-graphics", "CALayer", "CAGradientLayer", "CAShapeLayer", "CATextLayer"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-uniform-type-identifiers]
features = ["UTType"]
version = "0.3"
[target."cfg(windows)".dependencies.slim-detours-sys]
optional = true
version = "0.3"
[target."cfg(windows)".dependencies.sync-unsafe-cell]
optional = true
version = "0.1"
[target."cfg(windows)".dependencies.widestring]
version = "1"
[target."cfg(windows)".dependencies.windows]
features = ["Foundation_Numerics", "Win32_Foundation", "Win32_Graphics_Direct2D", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_DirectWrite", "Win32_Graphics_Dxgi_Common", "Win32_System_Com", "Win32_UI_Shell", "Win32_UI_Shell_Common"]
version = "0.61"
[target."cfg(windows)".dependencies.windows-numerics]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Globalization", "Win32_Graphics_Gdi", "Win32_Graphics_Dwm", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_LibraryLoader", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_WindowsProgramming", "Win32_UI_Accessibility", "Win32_UI_Controls", "Win32_UI_HiDpi", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging"]
version = "0.60"