plutonium_engine 0.8.0

A pure-Rust, SVG-first 2D graphics engine built on wgpu, with text, widgets, animation, and a WebAssembly target
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 = "2021"
rust-version = "1.79"
name = "plutonium_engine"
version = "0.8.0"
authors = ["Zeke Barnett coding@zeke13.com"]
build = false
include = [
    "/src/**",
    "!/src/bin/snapshots.rs",
    "/shaders/**",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure-Rust, SVG-first 2D graphics engine built on wgpu, with text, widgets, animation, and a WebAssembly target"
homepage = "https://github.com/zeke13dev/plutonium_engine"
documentation = "https://docs.rs/plutonium_engine"
readme = "README.md"
keywords = [
    "wgpu",
    "rendering",
    "svg",
]
categories = [
    "graphics",
    "rendering",
]
license = "Apache-2.0"
repository = "https://github.com/zeke13dev/plutonium_engine"

[features]
anim = []
default = ["widgets"]
layout = []
raster = []
wasm = ["dep:getrandom"]
widgets = []

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

[[bin]]
name = "msdf_bake"
path = "src/bin/msdf_bake.rs"

[dependencies.anyhow]
version = "1.0.86"

[dependencies.bytemuck]
version = "1.21.0"
features = ["derive"]

[dependencies.getrandom]
version = "0.2.15"
features = ["js"]
optional = true

[dependencies.image]
version = "0.25.5"

[dependencies.log]
version = "0.4"

[dependencies.pollster]
version = "0.4.0"

[dependencies.resvg]
version = "0.44.0"

[dependencies.rusttype]
version = "0.9.3"

[dependencies.rustybuzz]
version = "0.14.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tiny-skia]
version = "0.11.4"

[dependencies.uuid]
version = "1.11.0"
features = ["v4"]

[dependencies.wgpu]
version = "23.0.1"

[dependencies.winit]
version = "0.30.8"

[dev-dependencies.env_logger]
version = "0.11.6"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.freetype-rs]
version = "0.36.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.76"

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

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

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.76"
features = [
    "Window",
    "Document",
    "Element",
    "HtmlCanvasElement",
    "Performance",
    "Response",
    "console",
]