[package]
name = "lapaloma"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
publish = { workspace = true }
description = "Lapaloma — paraguas: re-exporta los módulos para prototipos. En producción importar los crates hoja directamente para que tree-shaking descarte lo no usado."

[dependencies]
lapaloma-core = { path = "../../libs/lapaloma-core", optional = true }
lapaloma-render = { path = "../lapaloma-render", optional = true }
lapaloma-cartesian = { path = "../lapaloma-cartesian", optional = true }
lapaloma-stream = { path = "../lapaloma-stream", optional = true }
lapaloma-mesh = { path = "../lapaloma-mesh", optional = true }
lapaloma-financial = { path = "../lapaloma-financial", optional = true }
lapaloma-polar = { path = "../lapaloma-polar", optional = true }
lapaloma-heatmap = { path = "../lapaloma-heatmap", optional = true }
lapaloma-treemap = { path = "../lapaloma-treemap", optional = true }
lapaloma-flow = { path = "../lapaloma-flow", optional = true }
lapaloma-phosphor = { path = "../lapaloma-phosphor", optional = true }
lapaloma-export = { path = "../lapaloma-export", optional = true }

[features]
default = ["full"]
full = [
    "core", "render", "cartesian", "stream", "mesh", "financial",
    "polar", "heatmap", "treemap", "flow", "phosphor", "export",
]
core = ["dep:lapaloma-core"]
render = ["dep:lapaloma-render", "core"]
cartesian = ["dep:lapaloma-cartesian", "render"]
stream = ["dep:lapaloma-stream", "render"]
mesh = ["dep:lapaloma-mesh", "render"]
financial = ["dep:lapaloma-financial", "cartesian"]
polar = ["dep:lapaloma-polar", "render"]
heatmap = ["dep:lapaloma-heatmap", "render"]
treemap = ["dep:lapaloma-treemap", "render"]
flow = ["dep:lapaloma-flow", "render"]
phosphor = ["dep:lapaloma-phosphor", "stream"]
export = ["dep:lapaloma-export", "render"]
