altui-core 0.2.0

A library to build rich terminal user interfaces or dashboards
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 = "2021"
rust-version = "1.75.0"
name = "altui-core"
version = "0.2.0"
authors = [
    "Florian Dehau <work@fdehau.com>",
    "The Ratatui Developers",
    "Artyom Sinyugin <writers@altlinux.org>",
]
build = false
exclude = [
    "assets/*",
    ".github",
    "Makefile.toml",
    "CONTRIBUTING.md",
    "*.log",
    "tags",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A library to build rich terminal user interfaces or dashboards
"""
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "dashboard",
]
license = "MIT"
repository = "https://altlinux.space/writers/altui.git"

[badges]

[features]
default = ["crossterm"]
layout-cache = []

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

[[example]]
name = "barchart"
path = "examples/barchart.rs"
required-features = ["crossterm"]

[[example]]
name = "block"
path = "examples/block.rs"
required-features = ["crossterm"]

[[example]]
name = "canvas"
path = "examples/canvas.rs"
required-features = ["crossterm"]

[[example]]
name = "chart"
path = "examples/chart.rs"
required-features = ["crossterm"]

[[example]]
name = "custom_widget"
path = "examples/custom_widget.rs"
required-features = ["crossterm"]

[[example]]
name = "demo"
path = "examples/demo/main.rs"

[[example]]
name = "gauge"
path = "examples/gauge.rs"
required-features = ["crossterm"]

[[example]]
name = "layout"
path = "examples/layout.rs"
required-features = ["crossterm"]

[[example]]
name = "list"
path = "examples/list.rs"
required-features = ["crossterm"]

[[example]]
name = "panic"
path = "examples/panic.rs"
required-features = ["crossterm"]

[[example]]
name = "paragraph"
path = "examples/paragraph.rs"
required-features = ["crossterm"]

[[example]]
name = "popup"
path = "examples/popup.rs"
required-features = ["crossterm"]

[[example]]
name = "sparkline"
path = "examples/sparkline.rs"
required-features = ["crossterm"]

[[example]]
name = "table"
path = "examples/table.rs"
required-features = ["crossterm"]

[[example]]
name = "tabs"
path = "examples/tabs.rs"
required-features = ["crossterm"]

[[example]]
name = "user_input"
path = "examples/user_input.rs"
required-features = ["crossterm"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitflags]
version = "2.10"

[dependencies.cassowary]
version = "0.3"

[dependencies.crossterm]
version = "0.29.0"
optional = true

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.indoc]
version = "2.0"

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

[dependencies.termion]
version = "4.0"
optional = true

[dependencies.tracing]
version = "0.1.41"

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

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

[dev-dependencies.argh]
version = "0.1"

[dev-dependencies.rand]
version = "0.9"