# 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 = "2024"
rust-version = "1.88"
name = "fenestra-shell"
version = "0.14.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windowed (winit + wgpu) and headless runners for the fenestra GUI framework"
readme = false
keywords = [
    "gui",
    "ui",
    "graphics",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/richer-richard/fenestra"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.fenestra-core]
version = "0.14.0"

[dependencies.kurbo]
version = "0.13.1"

[dependencies.vello]
version = "0.9.0"

[dependencies.wgpu]
version = "29.0.3"

[dependencies.winit]
version = "0.30.13"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit]
version = "0.24.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit_winit]
version = "0.33.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arboard]
version = "3.6.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
version = "0.25.10"
features = ["png"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pollster]
version = "0.4.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde]
version = "1.0.228"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0.150"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.73"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1.0"

[lints.rust]
unsafe_code = "forbid"
