[package]
edition = "2024"
name = "drawnui"
version = "0.1.0-preview.6"
build = false
include = [
"Cargo.toml",
"src/**",
"web/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DrawnUI for Rust: a Skia-drawn UI engine, the same controls and contract as DrawnUI for .NET and React, on the desktop, mobile and the web."
homepage = "https://hellorust.drawnui.net"
readme = "README.md"
keywords = [
"ui",
"gui",
"skia",
"drawnui",
"wasm",
]
categories = [
"gui",
"graphics",
"rendering",
]
license = "MIT"
repository = "https://github.com/DrawnUi/DrawnUi.Rust"
[features]
default = ["svg"]
full = [
"skia-safe/textlayout",
"svg",
]
svg = ["skia-safe/svg"]
[lib]
name = "drawnui"
path = "src/lib.rs"
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.skia-safe]
version = "=0.153.6"
features = ["gl"]
package = "drawnui-skia-safe"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2]
version = "0.6.3"
features = ["std"]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"std",
"CFCGTypes",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSRunLoop",
"NSString",
"NSObject",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-metal]
version = "0.3.2"
features = [
"std",
"MTLDevice",
"MTLCommandBuffer",
"MTLCommandQueue",
"MTLDrawable",
"MTLPixelFormat",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-quartz-core]
version = "0.3.2"
features = [
"std",
"objc2-core-foundation",
"objc2-metal",
"CALayer",
"CAMetalLayer",
"CADisplayLink",
"CAFrameRateRange",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.skia-safe]
version = "=0.153.6"
features = [
"gl",
"metal",
]
package = "drawnui-skia-safe"
[target.'cfg(not(any(target_os = "emscripten", target_os = "macos", target_os = "ios")))'.dependencies.glutin]
version = "0.32"
[target.'cfg(not(any(target_os = "emscripten", target_os = "macos", target_os = "ios")))'.dependencies.glutin-winit]
version = "0.5"
[target.'cfg(not(target_os = "emscripten"))'.dependencies.accesskit]
version = "0.25"
[target.'cfg(not(target_os = "emscripten"))'.dependencies.accesskit_winit]
version = "0.34"
features = [
"rwh_06",
"accesskit_unix",
"async-io",
]
default-features = false
[target.'cfg(not(target_os = "emscripten"))'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(not(target_os = "emscripten"))'.dependencies.winit]
version = "0.30"
[target.'cfg(target_os = "android")'.dependencies.accesskit_winit]
version = "0.34"
features = [
"rwh_06",
"accesskit_android",
]
default-features = false
[target.'cfg(target_os = "android")'.dependencies.ash]
version = "0.38"
[target.'cfg(target_os = "android")'.dependencies.jni-sys]
version = "0.3"
[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9"
[target.'cfg(target_os = "android")'.dependencies.skia-safe]
version = "=0.153.6"
features = [
"gl",
"vulkan",
]
package = "drawnui-skia-safe"
[target.'cfg(target_os = "android")'.dependencies.winit]
version = "0.30"
features = ["android-game-activity"]
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3.2"
features = [
"std",
"objc2-core-foundation",
"objc2-quartz-core",
"UIView",
"UIResponder",
"UIScreen",
"UIGeometry",
"UIColor",
"UIWindow",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.arboard]
version = "3.6"
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"std",
"objc2-quartz-core",
"NSView",
"NSResponder",
"NSWindow",
"NSScreen",
]
default-features = false