vertra 0.3.0

A cross-platform graphics editor built with Rust and WebAssembly.
Documentation
[workspace]

members = [

    ".",

    "binder"

]



[package]

name = "vertra"

description = "A cross-platform graphics editor built with Rust and WebAssembly."

version = "0.3.0"

edition = "2024"

license-file = "LICENSE"

readme = "README.md"

repository = "https://github.com/xcirno-labs/vertra"

keywords = ["graphics", "editor", "web", "cross-platform", "rust"]

exclude = [

    ".github/",

    "examples/assets/",

    "src/tests/",

    "docs/"

]



[features]

## Bundle a common sans / serif / mono font stack so text labels work

## out-of-the-box without any manual `add_font` call.

##

## Drop your font files into `src/fonts/`:

##   sans.ttf   - default sans-serif (e.g. Roboto, Inter, NotoSans)

##   serif.ttf  - serif variant      (e.g. RobotoSlab, NotoSerif)

##   mono.ttf   - monospace variant  (e.g. RobotoMono, JetBrainsMono)

##

## Built-in font variants are exposed as

## `vertra::text_overlay::DefaultFont::{Sans,Serif,Mono}`, and their

## string IDs are available via `DefaultFont::id()`.

default-fonts = []



[dependencies]

fontdue = "0.9"

winit = "0.29.15"

wgpu = { version = "29.0.1", features = ["webgl"] }

pollster = "0.3"

bytemuck = { version = "1.14", features = ["derive"] }

wasm-bindgen-futures = "0.4.67"

web-time = "1.1.0"

web-sys = "0.3.94"

wasm-bindgen = "0.2.117"

serde = { version = "1.0.228", features = ["derive"] }

uuid = { version = "1.23.0", features = ["v4", "js"] }



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

image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }



[lib]

crate-type = ["rlib"]