waterui-shape 0.5.1

Shape primitives and filled shapes for WaterUI using Lyon tessellation
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 = "waterui-shape"
version = "0.5.1"
authors = ["Lexo Liu"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shape primitives and filled shapes for WaterUI using Lyon tessellation"
readme = "README.md"
keywords = [
    "shape",
    "graphics",
    "waterui",
    "lyon",
    "hdr",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/water-rs/waterui"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["shaderloom"]

[features]
default = ["gpu"]
gpu = [
    "waterui-graphics/gpu",
    "dep:wgpu",
    "dep:bytemuck",
    "dep:num-traits",
    "dep:shaderloom",
    "dep:shaderloom",
]

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

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

[dependencies.bytemuck]
version = "1.25"
features = ["derive"]
optional = true

[dependencies.nami]
version = "0.11.2"

[dependencies.num-traits]
version = "0.2"
optional = true
default-features = false

[dependencies.shaderloom]
version = "0.1.2"
optional = true

[dependencies.waterui-core]
version = "0.5.1"

[dependencies.waterui-graphics]
version = "0.5.1"
default-features = false

[dependencies.wgpu]
version = "29.0.4"
optional = true

[dev-dependencies]

[build-dependencies.shaderloom]
version = "0.1.2"
features = ["build"]
optional = true

[lints.clippy]
all = "warn"
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
undocumented_unsafe_blocks = "warn"

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"