dioxus-flow 0.1.3

A react-flow-like node graph component library for Dioxus
Documentation
[package]
name = "dioxus-flow"
description = "A react-flow-like node graph component library for Dioxus"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords = ["dioxus", "flow", "graph", "diagram", "node-editor"]
categories = ["gui", "visualization"]
readme = "../README.md"

[features]
# Serde derives on the geometry types an application persists: Point, Size,
# Rect, Side, Viewport (react-flow's {x, y, zoom} shape), and ports::PortSeat.
serde = ["dep:serde"]

[dependencies]
dioxus = { workspace = true }
serde = { version = "1", features = ["derive"], optional = true }
# Instant that works on wasm and native alike (re-exports std on native).
web-time = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = { version = "0.3", features = ["futures"] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
futures-timer = "3"

[dev-dependencies]
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt"] }