panes 0.19.0

Renderer-agnostic layout engine with declarative ergonomics
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "panes"
version = "0.19.0"
build = false
exclude = [
    "docs/",
    "logs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Renderer-agnostic layout engine with declarative ergonomics"
homepage = "https://github.com/jostled-org/panes"
readme = "README.md"
keywords = [
    "layout",
    "egui",
    "panels",
    "css",
    "tui",
]
categories = [
    "gui",
    "command-line-interface",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jostled-org/panes"

[features]
serde = ["dep:serde"]
toml = [
    "dep:toml",
    "serde",
]

[lib]
name = "panes"
path = "src/lib.rs"

[[test]]
name = "adaptive"
path = "tests/adaptive.rs"

[[test]]
name = "add_panel_adjacent"
path = "tests/add_panel_adjacent.rs"

[[test]]
name = "audit_fixes"
path = "tests/audit_fixes.rs"

[[test]]
name = "builder"
path = "tests/builder.rs"

[[test]]
name = "compiler"
path = "tests/compiler.rs"

[[test]]
name = "content_sizing"
path = "tests/content_sizing.rs"

[[test]]
name = "dashboard_auto_rows"
path = "tests/dashboard_auto_rows.rs"

[[test]]
name = "diff"
path = "tests/diff.rs"

[[test]]
name = "error"
path = "tests/error.rs"

[[test]]
name = "focus_direction"
path = "tests/focus_direction.rs"

[[test]]
name = "grid_builder"
path = "tests/grid_builder.rs"

[[test]]
name = "grid_macro"
path = "tests/grid_macro.rs"

[[test]]
name = "hit_testing"
path = "tests/hit_testing.rs"

[[test]]
name = "layout"
path = "tests/layout.rs"

[[test]]
name = "layout_macro"
path = "tests/layout_macro.rs"

[[test]]
name = "node"
path = "tests/node.rs"

[[test]]
name = "overlay"
path = "tests/overlay.rs"

[[test]]
name = "overlay_diff"
path = "tests/overlay_diff.rs"

[[test]]
name = "panel"
path = "tests/panel.rs"

[[test]]
name = "panel_entry"
path = "tests/panel_entry.rs"

[[test]]
name = "preset"
path = "tests/preset.rs"

[[test]]
name = "rect"
path = "tests/rect.rs"

[[test]]
name = "resize_boundary"
path = "tests/resize_boundary.rs"

[[test]]
name = "resolver"
path = "tests/resolver.rs"

[[test]]
name = "runtime"
path = "tests/runtime.rs"

[[test]]
name = "set_card_span"
path = "tests/set_card_span.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[[test]]
name = "strategy_active"
path = "tests/strategy_active.rs"

[[test]]
name = "strategy_add_positional"
path = "tests/strategy_add_positional.rs"

[[test]]
name = "strategy_binary"
path = "tests/strategy_binary.rs"

[[test]]
name = "strategy_builder"
path = "tests/strategy_builder.rs"

[[test]]
name = "strategy_grid"
path = "tests/strategy_grid.rs"

[[test]]
name = "strategy_sequence"
path = "tests/strategy_sequence.rs"

[[test]]
name = "strategy_slotted"
path = "tests/strategy_slotted.rs"

[[test]]
name = "toml_parse"
path = "tests/toml_parse.rs"

[[test]]
name = "tree"
path = "tests/tree.rs"

[[bench]]
name = "compare"
path = "benches/compare.rs"
harness = false

[[bench]]
name = "resolve"
path = "benches/resolve.rs"
harness = false

[dependencies.rustc-hash]
version = "2"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.taffy]
version = "0.10"
features = [
    "std",
    "taffy_tree",
    "flexbox",
    "grid",
    "content_size",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.ratatui]
version = "0.30"
default-features = false

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.taffy]
version = "0.10"
features = [
    "std",
    "taffy_tree",
    "flexbox",
    "grid",
    "content_size",
]
default-features = false

[lints.clippy]
collapsible_match = "warn"
expect_used = "deny"
match_ref_pats = "warn"
match_same_arms = "warn"
match_single_binding = "warn"
needless_bool = "deny"
needless_late_init = "warn"
needless_match = "warn"
panic = "deny"
redundant_guards = "warn"
redundant_pattern = "warn"
redundant_pattern_matching = "warn"
single_match = "allow"
single_match_else = "allow"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"

[profile.dev]
debug = "line-tables-only"
incremental = true

[profile.test]
incremental = true