[package]
edition = "2021"
name = "rio-window"
version = "0.3.6"
authors = [
"The winit contributors",
"Pierre Krieger <pierre.krieger1708@gmail.com>",
"Raphael Amorim <rapha850@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Winit fork maintained for Rio terminal"
homepage = "https://rioterm.com"
readme = "README.md"
keywords = [
"graphics",
"terminal",
"application",
]
license = "MIT"
repository = "https://github.com/raphamorim/rio"
[features]
default = [
"x11",
"wayland",
"wayland-dlopen",
"wayland-csd-adwaita",
]
wayland = [
"wayland-client",
"wayland-backend",
"wayland-protocols",
"wayland-protocols-plasma",
"sctk",
"ahash",
"memmap2",
]
wayland-csd-adwaita = [
"sctk-adwaita",
"sctk-adwaita/ab_glyph",
]
wayland-csd-adwaita-notitle = ["sctk-adwaita"]
wayland-dlopen = ["wayland-backend/dlopen"]
x11 = [
"x11-dl",
"bytemuck",
"percent-encoding",
"xkbcommon-dl/x11",
"x11rb",
]
[lib]
name = "rio_window"
path = "src/lib.rs"
[[example]]
name = "child_window"
path = "examples/child_window.rs"
[[example]]
name = "control_flow"
path = "examples/control_flow.rs"
[[example]]
name = "pump_events"
path = "examples/pump_events.rs"
[[example]]
name = "run_on_demand"
path = "examples/run_on_demand.rs"
[[example]]
name = "window"
path = "examples/window.rs"
doc-scrape-examples = true
[[example]]
name = "x11_embed"
path = "examples/x11_embed.rs"
[[test]]
name = "send_objects"
path = "tests/send_objects.rs"
[[test]]
name = "sync_object"
path = "tests/sync_object.rs"
[dependencies.bitflags]
version = "2.9.0"
[dependencies.cursor-icon]
version = "1.1.0"
[dependencies.dpi]
version = "0.1.1"
[dependencies.raw-window-handle]
version = "0.6.2"
features = ["std"]
[dependencies.smol_str]
version = "0.3.2"
[dependencies.tracing]
version = "0.1.40"
default-features = false
[dev-dependencies.image]
version = "0.25.0"
features = ["png"]
default-features = false
[dev-dependencies.softbuffer]
version = "0.4.0"
features = [
"x11",
"x11-dlopen",
"wayland",
"wayland-dlopen",
]
default-features = false
[dev-dependencies.tracing]
version = "0.1.40"
features = ["log"]
default-features = false
[dev-dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]
[build-dependencies.cfg_aliases]
version = "0.2.0"
[target.'cfg(all(target_family = "wasm", target_feature = "atomics"))'.dependencies.atomic-waker]
version = "1"
[target.'cfg(all(target_family = "wasm", target_feature = "atomics"))'.dependencies.concurrent-queue]
version = "2"
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.ahash]
version = "0.8.7"
features = ["no-rng"]
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.bytemuck]
version = "1.13.1"
optional = true
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.calloop]
version = "0.13.0"
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.libc]
version = "0.2.174"
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.memmap2]
version = "0.9.5"
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.percent-encoding]
version = "2.0"
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.rustix]
version = "0.38.4"
features = [
"std",
"system",
"thread",
"process",
]
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.sctk]
version = "0.19.2"
features = ["calloop"]
optional = true
default-features = false
package = "smithay-client-toolkit"
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.sctk-adwaita]
version = "0.10.1"
optional = true
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.wayland-backend]
version = "0.3.10"
features = ["client_system"]
optional = true
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.wayland-client]
version = "0.31.10"
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.wayland-protocols]
version = "0.32.8"
features = ["staging"]
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.wayland-protocols-plasma]
version = "0.3.8"
features = ["client"]
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.x11-dl]
version = "2.19.1"
optional = true
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.x11rb]
version = "0.13.0"
features = [
"allow-unsafe-code",
"cursor",
"dl-libxcb",
"randr",
"resource_manager",
"xinput",
"xkb",
]
optional = true
default-features = false
[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "macos"))))'.dependencies.xkbcommon-dl]
version = "0.4.2"
[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3.64"
[target.'cfg(target_family = "wasm")'.dependencies.pin-project]
version = "1"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_family = "wasm")'.dependencies.web-time]
version = "1"
[target.'cfg(target_family = "wasm")'.dependencies.web_sys]
version = "0.3.64"
features = [
"AbortController",
"AbortSignal",
"Blob",
"console",
"CssStyleDeclaration",
"Document",
"DomException",
"DomRect",
"DomRectReadOnly",
"Element",
"Event",
"EventTarget",
"FocusEvent",
"HtmlCanvasElement",
"HtmlElement",
"HtmlImageElement",
"ImageBitmap",
"ImageBitmapOptions",
"ImageBitmapRenderingContext",
"ImageData",
"IntersectionObserver",
"IntersectionObserverEntry",
"KeyboardEvent",
"MediaQueryList",
"MessageChannel",
"MessagePort",
"Node",
"PageTransitionEvent",
"PointerEvent",
"PremultiplyAlpha",
"ResizeObserver",
"ResizeObserverBoxOptions",
"ResizeObserverEntry",
"ResizeObserverOptions",
"ResizeObserverSize",
"VisibilityState",
"Window",
"WheelEvent",
"Url",
]
package = "web-sys"
[target.'cfg(target_family = "wasm")'.dev-dependencies.console_error_panic_hook]
version = "0.1"
[target.'cfg(target_family = "wasm")'.dev-dependencies.tracing-web]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.0"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24.0"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2.174"
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.3.1"
package = "objc-rs"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.5.2"
features = ["relax-sign-encoding"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.2.2"
features = [
"NSAppearance",
"NSApplication",
"NSBitmapImageRep",
"NSButton",
"NSColor",
"NSColorSpace",
"NSControl",
"NSCursor",
"NSDragging",
"NSEvent",
"NSGraphics",
"NSGraphicsContext",
"NSImage",
"NSImageRep",
"NSMenu",
"NSMenuItem",
"NSOpenGLView",
"NSPasteboard",
"NSResponder",
"NSRunningApplication",
"NSScreen",
"NSTextInputClient",
"NSTextInputContext",
"NSToolbar",
"NSView",
"NSWindow",
"NSWindowScripting",
"NSWindowTabGroup",
"NSWorkspace",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.2.2"
features = [
"dispatch",
"NSArray",
"NSAttributedString",
"NSData",
"NSDictionary",
"NSDistributedNotificationCenter",
"NSEnumerator",
"NSNotification",
"NSObjCRuntime",
"NSPathUtilities",
"NSProcessInfo",
"NSRunLoop",
"NSString",
"NSThread",
"NSValue",
]
[target.'cfg(target_os = "macos")'.build-dependencies.bindgen]
version = "0.70.1"
[target.'cfg(target_os = "redox")'.dependencies.orbclient]
version = "0.3.47"
default-features = false
[target.'cfg(target_os = "redox")'.dependencies.redox_syscall]
version = "0.4.1"
[target.'cfg(target_os = "windows")'.dependencies.unicode-segmentation]
version = "1.7.1"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59.0"
features = [
"Win32_Devices_HumanInterfaceDevice",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Graphics_Dwm",
"Win32_Graphics_Gdi",
"Win32_Media",
"Win32_System_Com_StructuredStorage",
"Win32_System_Com",
"Win32_System_LibraryLoader",
"Win32_System_Ole",
"Win32_Security",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
"Win32_UI_Accessibility",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_Ime",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Input_Pointer",
"Win32_UI_Input_Touch",
"Win32_UI_Shell",
"Win32_UI_TextServices",
"Win32_UI_WindowsAndMessaging",
]
[target."cfg(windows)".build-dependencies.winres]
version = "0.1.12"