[package]
edition = "2024"
rust-version = "1.95"
name = "oxframe-2d"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "2D scene graph and nodes for oxframe"
homepage = "https://oxframe.dev"
documentation = "https://docs.rs/oxframe-2d"
readme = false
keywords = [
"animation",
"motion-graphics",
"video",
"vector-graphics",
"procedural",
]
categories = [
"graphics",
"multimedia::video",
"rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxygenframe/oxframe-sdk"
[lib]
name = "oxframe_2d"
path = "src/lib.rs"
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
]
default-features = false
[dependencies.kurbo]
version = "0.13"
[dependencies.oxframe-core]
version = "0.12.0"
[dependencies.oxframe-text]
version = "0.12.0"
[dependencies.taffy]
version = "0.15"
features = [
"std",
"taffy_tree",
"flexbox",
"grid",
"content_size",
]
default-features = false
[dependencies.usvg]
version = "0.48"
default-features = false
[dev-dependencies.oxframe-protocol]
version = "0.12.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.naga]
version = "30"
features = ["wgsl-in"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["console"]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"