bnto-vector 0.1.3

SVG rasterization for Bnto engine — parses SVG and renders to pixels
Documentation
# bnto-vector — SVG rasterization library.
# Converts SVG input to raster pixels using resvg/usvg/tiny-skia.
# Pure Rust, no WASM boundary — consumed by bnto-image for the image-convert pipeline.

[package]
name = "bnto-vector"
version = "0.1.3"
edition = "2024"
description = "SVG rasterization for Bnto engine — parses SVG and renders to pixels"
license = "MIT"
repository = "https://github.com/Develonaut/bnto"
homepage = "https://bnto.io"
readme = "README.md"
keywords = ["svg", "rasterize", "vector", "resvg", "wasm"]
categories = ["graphics", "multimedia::images"]

# wasm-opt flags — must match ALL features Rust enables by default.
# Rust 1.87+ (LLVM 20) enables 6 post-MVP features for wasm32-unknown-unknown.
# See bnto-wasm/Cargo.toml for full explanation.
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O", "--enable-bulk-memory", "--enable-nontrapping-float-to-int", "--enable-sign-ext", "--enable-mutable-globals", "--enable-reference-types", "--enable-multivalue"]

[lib]
crate-type = ["rlib"]

[dependencies]
bnto-core = { path = "../bnto-core", version = "0.1.3" }
bnto-encode = { path = "../bnto-encode", version = "0.1.3" }
resvg = "0.47"
usvg = "0.47"
tiny-skia = "0.12"
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp"] }
roxmltree = "0.21"
xmlwriter = "0.1"
serde_json = { workspace = true }
thiserror = { workspace = true }