verdant 0.6.2

A windowing and rendering library, inspired by Processing. Clean API, SDF-based rendering, multi-window support, built on wgpu and winit.
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 = "verdant"
version = "0.6.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A windowing and rendering library, inspired by Processing. Clean API, SDF-based rendering, multi-window support, built on wgpu and winit."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/grimtin10/verdant"

[features]
default = [
    "text",
    "image-png",
    "image-jpeg",
    "dx12",
    "metal",
    "vulkan",
]
dx12 = ["wgpu/dx12"]
gles = ["wgpu/gles"]
image = []
image-all = [
    "image",
    "dep:image",
    "image/default",
]
image-gif = [
    "image",
    "dep:image",
    "image/gif",
]
image-jpeg = [
    "image",
    "dep:image",
    "image/jpeg",
]
image-png = [
    "image",
    "dep:image",
    "image/png",
]
image-webp = [
    "image",
    "dep:image",
    "image/webp",
]
linux-wayland-csd = ["winit/wayland-csd-adwaita"]
metal = ["wgpu/metal"]
text = ["dep:fontdue"]
vulkan = ["wgpu/vulkan"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1.25.0"

[dependencies.fontdue]
version = "0.9.3"
features = [
    "simd",
    "std",
]
optional = true
default-features = false

[dependencies.image]
version = "0.25.10"
optional = true
default-features = false

[dependencies.pollster]
version = "0.4.0"

[dependencies.wgpu]
version = "29.0.3"
features = [
    "wgsl",
    "std",
    "parking_lot",
]
default-features = false

[dependencies.winit]
version = "0.31.0-beta.2"
features = [
    "x11",
    "wayland",
    "wayland-dlopen",
]
default-features = false

[dev-dependencies.fastrand]
version = "2.0"

[dev-dependencies.time]
version = "0.3"
features = ["local-offset"]

[build-dependencies.cfg_aliases]
version = "0.2.0"