# 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 = "ftui-widgets"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Widget library built on FrankenTUI render and layout."
homepage = "https://github.com/Dicklesworthstone/frankentui"
documentation = "https://docs.rs/ftui-widgets"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "ui",
    "ftui",
    "frankentui",
]
categories = [
    "command-line-interface",
    "gui",
]
license = "LicenseRef-MIT-OpenAI-Anthropic-Rider"
repository = "https://github.com/Dicklesworthstone/frankentui"
resolver = "2"

[features]
debug-overlay = []
default = []
regex-search = ["dep:regex"]
state-persistence = ["dep:serde"]
tracing = [
    "dep:tracing",
    "ftui-render/tracing",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.bitflags]
version = "2.13.0"

[dependencies.ftui-a11y]
version = "0.5.0"

[dependencies.ftui-core]
version = "0.5.0"

[dependencies.ftui-layout]
version = "0.5.0"

[dependencies.ftui-render]
version = "0.5.0"

[dependencies.ftui-runtime]
version = "0.5.0"

[dependencies.ftui-style]
version = "0.5.0"

[dependencies.ftui-text]
version = "0.5.0"
features = ["markup"]

[dependencies.regex]
version = "1.12.3"
optional = true

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

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.unicode-segmentation]
version = "1.13.3"

[dependencies.unicode-width]
version = "0.2.2"

[dependencies.web-time]
version = "1.1.0"

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

[dev-dependencies.proptest]
version = "1.7.0"

[dev-dependencies.serde]
version = "1.0.227"
features = ["derive"]

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

[dev-dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = ["registry"]
