[package]
edition = "2021"
rust-version = "1.90"
name = "frus-shell"
version = "0.5.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "frus — the platform layer: window + event loop (Milestone 0)"
documentation = "https://docs.rs/frus-shell"
readme = "README.md"
keywords = [
"gui",
"winit",
"window",
"event-loop",
"wasm",
]
categories = [
"gui",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KalybosPro/frus"
[features]
bundled-arabic = [
"frus-gpu/bundled-arabic",
"frus-widgets/bundled-arabic",
]
bundled-italic = [
"frus-gpu/bundled-italic",
"frus-widgets/bundled-italic",
]
bundled-mono = [
"frus-gpu/bundled-mono",
"frus-widgets/bundled-mono",
]
bundled-sans = [
"frus-gpu/bundled-sans",
"frus-widgets/bundled-sans",
]
default = [
"frus-gpu/default",
"frus-widgets/default",
]
file-dialogs = ["dep:rfd"]
global-shortcuts = ["dep:global-hotkey"]
hot-reload = [
"dep:dioxus-devtools",
"dep:serde_json",
"frus-widgets/hot-reload",
]
json = [
"net",
"dep:serde",
"dep:serde_json",
]
net = ["dep:ureq"]
notifications = ["dep:notify-rust"]
taskbar = [
"dep:windows",
"dep:objc2",
"dep:objc2-app-kit",
"dep:objc2-foundation",
"dep:zbus",
]
testing = []
tray = ["dep:tray-icon"]
[lib]
name = "frus_shell"
path = "src/lib.rs"
[[test]]
name = "fetch_bytes"
path = "tests/fetch_bytes.rs"
[dependencies.anyhow]
version = "1"
[dependencies.dioxus-devtools]
version = "0.7"
optional = true
[dependencies.frus-gpu]
version = "0.5"
default-features = false
[dependencies.frus-text]
version = "0.5"
default-features = false
[dependencies.frus-widgets]
version = "0.5"
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.web-time]
version = "1"
[dependencies.winit]
version = "0.30"
[build-dependencies.cfg_aliases]
version = "0.2"
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android", target_os = "ios"))))'.dependencies.tray-icon]
version = "0.26.1"
features = ["ksni"]
optional = true
default-features = false
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android", target_os = "ios"))))'.dependencies.zbus]
version = "5"
optional = true
[target.'cfg(not(any(target_os = "android", target_arch = "wasm32")))'.dependencies.sys-locale]
version = "0.3"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.accesskit]
version = "0.25"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.accesskit_winit]
version = "0.34"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.arboard]
version = "3"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.env_logger]
version = "0.11"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.frus-image]
version = "0.5"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.global-hotkey]
version = "0.9.0"
optional = true
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.notify-rust]
version = "4.18.2"
optional = true
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.rfd]
version = "0.17.2"
optional = true
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.tray-icon]
version = "0.26.1"
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-executor]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-io]
version = "2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.blocking]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-lite]
version = "2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pollster]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "3"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[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 = [
"Document",
"Window",
"Navigator",
"Clipboard",
"History",
"Location",
"Url",
"Storage",
"Node",
"Event",
"EventTarget",
"KeyboardEvent",
"Blob",
"BlobPropertyBag",
"Element",
"Response",
"Request",
"RequestInit",
"Headers",
"AbortController",
"AbortSignal",
"Notification",
"NotificationOptions",
"NotificationPermission",
"HtmlCanvasElement",
"HtmlElement",
"HtmlInputElement",
"HtmlTextAreaElement",
"KeyboardEventInit",
"CompositionEvent",
"DomRect",
"console",
"Performance",
]
[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.14"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "android")'.dependencies.winit]
version = "0.30"
features = ["android-native-activity"]
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSApplication",
"NSDockTile",
"NSResponder",
]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSString",
]
optional = true
default-features = false
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
optional = true
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_Graphics_Dwm",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_System_Registry",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_UI_Accessibility",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]