[package]
edition = "2024"
name = "vertra"
version = "0.3.0"
build = false
exclude = [
".github/",
"examples/assets/",
"src/tests/",
"docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross-platform graphics editor built with Rust and WebAssembly."
readme = "README.md"
keywords = [
"graphics",
"editor",
"web",
"cross-platform",
"rust",
]
license-file = "LICENSE"
repository = "https://github.com/xcirno-labs/vertra"
[features]
default-fonts = []
[lib]
name = "vertra"
crate-type = ["rlib"]
path = "src/lib.rs"
[[example]]
name = "fixed_update"
path = "examples/fixed_update.rs"
[[example]]
name = "geometry_showcase"
path = "examples/geometry_showcase.rs"
[[example]]
name = "hello_cube"
path = "examples/hello_cube.rs"
[[example]]
name = "scripted_objects"
path = "examples/scripted_objects.rs"
[[example]]
name = "solar_system"
path = "examples/solar_system.rs"
[[example]]
name = "text_labels"
path = "examples/text_labels.rs"
[[example]]
name = "textured_cube"
path = "examples/textured_cube.rs"
[[example]]
name = "vtr_roundtrip"
path = "examples/vtr_roundtrip.rs"
[dependencies.bytemuck]
version = "1.14"
features = ["derive"]
[dependencies.fontdue]
version = "0.9"
[dependencies.pollster]
version = "0.3"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.uuid]
version = "1.23.0"
features = [
"v4",
"js",
]
[dependencies.wasm-bindgen]
version = "0.2.117"
[dependencies.wasm-bindgen-futures]
version = "0.4.67"
[dependencies.web-sys]
version = "0.3.94"
[dependencies.web-time]
version = "1.1.0"
[dependencies.wgpu]
version = "29.0.1"
features = ["webgl"]
[dependencies.winit]
version = "0.29.15"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
]
default-features = false