velox-engine 0.4.0

Velox core UI engine: arena, pod state, 1D fixed-point layout solver, damage tracker, SDF scanline rasterizer, and cross-platform GPU/software backends
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 = "2024"
name = "velox-engine"
version = "0.4.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Velox core UI engine: arena, pod state, 1D fixed-point layout solver, damage tracker, SDF scanline rasterizer, and cross-platform GPU/software backends"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "cross-platform",
    "wgpu",
    "sdf",
]
categories = [
    "gui",
    "rendering::graphics-api",
]
license = "MPL-2.0"
repository = "https://github.com/cnwzhu/velox"
resolver = "2"

[features]
custom-shader = ["gpu"]
default = [
    "std",
    "gpu",
]
gpu = ["dep:wgpu"]
gpu-interop = [
    "gpu",
    "dep:windows",
    "dep:ash",
]
std = []
winit = [
    "std",
    "dep:winit",
    "dep:softbuffer",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bumpalo]
version = "3.20.3"
features = ["collections"]

[dependencies.softbuffer]
version = "0.4"
features = [
    "wayland",
    "wayland-dlopen",
]
optional = true
default-features = false

[dependencies.ttf-parser]
version = "0.25"

[dependencies.wgpu]
version = "30"
features = [
    "std",
    "parking_lot",
    "dx12",
    "metal",
    "vulkan",
    "wgsl",
    "webgpu",
]
optional = true
default-features = false

[dependencies.winit]
version = "0.30"
features = [
    "rwh_06",
    "wayland",
    "wayland-dlopen",
]
optional = true
default-features = false

[build-dependencies.fontdue]
version = "0.9"

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.ash]
version = "0.38"
optional = true
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Security",
    "Win32_System_Threading",
]
optional = true
default-features = false