cranpose 0.1.17

Cranpose runtime and UI facade
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "cranpose"
version = "0.1.17"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cranpose runtime and UI facade"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "compose",
    "declarative",
    "framework",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/samoylenkodmitry/cranpose"

[package.metadata.cargo-machete]
ignored = ["cranpose-render-pixels"]

[features]
android = ["cranpose-platform-android"]
default = []
desktop = [
    "cranpose-app-shell/clipboard-native",
    "cranpose-platform-desktop-winit",
    "dep:x11rb",
    "dep:winit",
]
ios = [
    "cranpose-platform-desktop-winit",
    "dep:winit",
    "dep:objc2",
    "dep:objc2-foundation",
    "dep:objc2-ui-kit",
    "dep:objc2-uniform-type-identifiers",
]
renderer-pixels = ["cranpose-render-pixels"]
renderer-wgpu = [
    "cranpose-render-wgpu",
    "dep:wgpu",
    "dep:pollster",
]
robot = ["cranpose-app-shell/test-support"]
web = [
    "cranpose-platform-web",
    "dep:wasm-bindgen",
    "dep:web-sys",
]

[lib]
name = "cranpose"
path = "src/lib.rs"

[[test]]
name = "platform_scheduling_static"
path = "tests/platform_scheduling_static.rs"

[dependencies.cranpose-app-shell]
version = "0.1.17"

[dependencies.cranpose-core]
version = "0.1.17"

[dependencies.cranpose-platform-android]
version = "0.1.17"
optional = true

[dependencies.cranpose-platform-desktop-winit]
version = "0.1.17"
optional = true

[dependencies.cranpose-platform-web]
version = "0.1.17"
optional = true

[dependencies.cranpose-render-pixels]
version = "0.1.17"
optional = true

[dependencies.cranpose-render-wgpu]
version = "0.1.17"
optional = true

[dependencies.cranpose-services]
version = "0.1.17"
default-features = false

[dependencies.cranpose-ui]
version = "0.1.17"

[dependencies.log]
version = "0.4"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "Window",
    "Location",
    "Document",
    "Element",
    "HtmlElement",
    "HtmlCanvasElement",
    "CanvasRenderingContext2d",
    "Performance",
    "MouseEvent",
    "Touch",
    "TouchList",
    "TouchEvent",
    "PointerEvent",
    "WheelEvent",
    "KeyboardEvent",
    "CssStyleDeclaration",
    "Navigator",
    "Clipboard",
    "ClipboardEvent",
    "DataTransfer",
]
optional = true

[dependencies.web-time]
version = "1.1"

[dependencies.winit]
version = "0.31.0-beta.2"
optional = true

[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android"), not(target_os = "linux"), not(target_os = "windows"), not(target_os = "macos"), not(target_os = "ios")))'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(all(target_os = "linux", not(target_arch = "wasm32")))'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(all(target_os = "linux", not(target_arch = "wasm32")))'.dependencies.x11rb]
version = "0.13.2"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "webgpu",
    "webgl",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(target_os = "android")'.dependencies.android-activity]
version = "0.6"
features = ["native-activity"]

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.22.4"

[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9.0"

[target.'cfg(target_os = "android")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_os = "android")'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "std",
    "NSArray",
    "NSEnumerator",
    "NSError",
    "NSObject",
    "NSSet",
    "NSString",
    "NSURL",
]
optional = true
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"
features = [
    "std",
    "block2",
    "objc2-uniform-type-identifiers",
    "UIApplication",
    "UIDocumentPickerViewController",
    "UIResponder",
    "UIScene",
    "UISceneSession",
    "UIView",
    "UIViewController",
    "UIWindow",
    "UIWindowScene",
]
optional = true
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.objc2-uniform-type-identifiers]
version = "0.3"
features = [
    "std",
    "UTCoreTypes",
    "UTType",
]
optional = true
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "metal",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "metal",
    "wgsl",
]
optional = true
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.wgpu]
version = "29.0"
features = [
    "std",
    "parking_lot",
    "dx12",
    "wgsl",
]
optional = true
default-features = false