# 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"
rust-version = "1.75"
name = "blinc_app"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blinc application framework with clean layout and rendering API"
documentation = "https://docs.rs/blinc_app"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/project-blinc/Blinc"

[features]
android = [
    "blinc_platform_android",
    "android-activity",
    "ndk",
    "jni",
    "android_logger",
    "log",
    "tracing-android",
    "tracing-subscriber",
    "blinc_gpu/android",
]
default = ["windowed"]
fuchsia = []
harmony = ["blinc_gpu/harmony"]
ios = [
    "blinc_platform_ios",
    "blinc_gpu/ios",
]
windowed = [
    "winit",
    "blinc_platform_desktop",
    "blinc_gpu/desktop",
    "rfd",
    "tray-icon",
    "muda",
    "notify-rust",
    "global-hotkey",
]

[lib]
name = "blinc_app"
crate-type = [
    "rlib",
    "staticlib",
]
path = "src/lib.rs"

[[example]]
name = "canvas_demo"
path = "examples/canvas_demo.rs"

[[example]]
name = "canvas_kit_demo"
path = "examples/canvas_kit_demo.rs"

[[example]]
name = "carousel_demo"
path = "examples/carousel_demo.rs"

[[example]]
name = "cn_demo"
path = "examples/cn_demo.rs"

[[example]]
name = "code_demo"
path = "examples/code_demo.rs"

[[example]]
name = "code_test"
path = "examples/code_test.rs"

[[example]]
name = "complex_svg_demo"
path = "examples/complex_svg_demo.rs"

[[example]]
name = "css_debug"
path = "examples/css_debug.rs"

[[example]]
name = "css_features_demo"
path = "examples/css_features_demo.rs"

[[example]]
name = "css_parser_demo"
path = "examples/css_parser_demo.rs"

[[example]]
name = "effects_demo"
path = "examples/effects_demo.rs"

[[example]]
name = "emoji_demo"
path = "examples/emoji_demo.rs"

[[example]]
name = "flow_demo"
path = "examples/flow_demo.rs"

[[example]]
name = "fluid_demo"
path = "examples/fluid_demo.rs"

[[example]]
name = "fuchsia_hello"
path = "examples/fuchsia_hello.rs"

[[example]]
name = "image_css_demo"
path = "examples/image_css_demo.rs"

[[example]]
name = "image_layer_test"
path = "examples/image_layer_test.rs"

[[example]]
name = "keyframe_canvas"
path = "examples/keyframe_canvas.rs"

[[example]]
name = "markdown_demo"
path = "examples/markdown_demo.rs"

[[example]]
name = "motion_demo"
path = "examples/motion_demo.rs"

[[example]]
name = "multi_window_demo"
path = "examples/multi_window_demo.rs"

[[example]]
name = "music_player"
path = "examples/music_player.rs"

[[example]]
name = "notch_demo"
path = "examples/notch_demo.rs"

[[example]]
name = "overflow_fade_demo"
path = "examples/overflow_fade_demo.rs"

[[example]]
name = "overlay_demo"
path = "examples/overlay_demo.rs"

[[example]]
name = "pointer_query_demo"
path = "examples/pointer_query_demo.rs"

[[example]]
name = "rich_text_demo"
path = "examples/rich_text_demo.rs"

[[example]]
name = "scroll"
path = "examples/scroll.rs"

[[example]]
name = "semantic_flow_demo"
path = "examples/semantic_flow_demo.rs"

[[example]]
name = "sortable_demo"
path = "examples/sortable_demo.rs"

[[example]]
name = "stateful_demo"
path = "examples/stateful_demo.rs"

[[example]]
name = "styling_demo"
path = "examples/styling_demo.rs"

[[example]]
name = "svg_animation_demo"
path = "examples/svg_animation_demo.rs"

[[example]]
name = "table_demo"
path = "examples/table_demo.rs"

[[example]]
name = "tabler_icons_demo"
path = "examples/tabler_icons_demo.rs"

[[example]]
name = "text_position_test"
path = "examples/text_position_test.rs"

[[example]]
name = "text_widgets"
path = "examples/text_widgets.rs"

[[example]]
name = "text_wrap_test"
path = "examples/text_wrap_test.rs"

[[example]]
name = "theme_demo"
path = "examples/theme_demo.rs"

[[example]]
name = "timeline_demo"
path = "examples/timeline_demo.rs"

[[example]]
name = "typography_demo"
path = "examples/typography_demo.rs"

[[example]]
name = "wet_glass_demo"
path = "examples/wet_glass_demo.rs"

[[example]]
name = "windowed"
path = "examples/windowed.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.blinc_animation]
version = "0.4.0"

[dependencies.blinc_core]
version = "0.4.0"

[dependencies.blinc_gpu]
version = "0.4.0"
default-features = false

[dependencies.blinc_image]
version = "0.4.0"

[dependencies.blinc_layout]
version = "0.4.0"

[dependencies.blinc_macros]
version = "0.4.0"

[dependencies.blinc_platform]
version = "0.4.0"

[dependencies.blinc_router]
version = "0.4.0"

[dependencies.blinc_svg]
version = "0.4.0"

[dependencies.blinc_text]
version = "0.4.0"

[dependencies.blinc_theme]
version = "0.4.0"

[dependencies.global-hotkey]
version = "0.7"
optional = true

[dependencies.lru]
version = "0.12"

[dependencies.muda]
version = "0.17"
optional = true

[dependencies.notify-rust]
version = "4"
optional = true

[dependencies.pollster]
version = "0.4"

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.rfd]
version = "0.15"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tray-icon]
version = "0.22"
optional = true

[dependencies.wgpu]
version = "23.0"

[dependencies.winit]
version = "0.30"
optional = true

[dev-dependencies.blinc_canvas_kit]
version = "0.4.0"

[dev-dependencies.blinc_cn]
version = "0.4.0"

[dev-dependencies.blinc_icons]
version = "0.4.0"

[dev-dependencies.blinc_tabler_icons]
version = "0.4.0"

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target.'cfg(not(any(target_os = "android", target_os = "ios", target_os = "fuchsia")))'.dependencies.blinc_platform_desktop]
version = "0.4.0"
optional = true

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

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.14"
optional = true

[target.'cfg(target_os = "android")'.dependencies.blinc_platform_android]
version = "0.4.0"
optional = true

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
optional = true

[target.'cfg(target_os = "android")'.dependencies.log]
version = "0.4"
optional = true

[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9"
optional = true

[target.'cfg(target_os = "android")'.dependencies.tracing-android]
version = "0.2"
optional = true

[target.'cfg(target_os = "android")'.dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(target_os, values("fuchsia", "ohos"))',
    'cfg(target_env, values("ohos"))',
]
