# 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 = "2021"
name = "fusabi-tui"
version = "0.1.0"
authors = ["Raibid Labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal UI library for Fusabi - providing Ratatui bindings and widgets"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "fusabi",
    "ratatui",
    "ui",
]
categories = [
    "command-line-interface",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/raibid-labs/fusabi-tui"

[features]
bindings = [
    "fusabi",
    "fusabi-vm",
]
default = ["bindings"]

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

[[example]]
name = "formatting_demo"
path = "examples/formatting_demo.rs"

[[example]]
name = "graph_demo"
path = "examples/graph_demo.rs"

[[example]]
name = "layout_demo"
path = "examples/layout_demo.rs"

[[example]]
name = "simple_list"
path = "examples/simple_list.rs"

[[example]]
name = "table_demo"
path = "examples/table_demo.rs"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.crossterm]
version = "0.28"

[dependencies.fusabi]
version = "0.16.0"
optional = true

[dependencies.fusabi-vm]
version = "0.16.0"
optional = true

[dependencies.ratatui]
version = "0.28"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tempfile]
version = "3.8"
