rat-widget 3.1.1

ratatui widgets extended edition
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 = "rat-widget"
version = "3.1.1"
authors = ["thscharler <thscharler@gmail.com>"]
build = false
exclude = [
    ".idea/*",
    ".gitignore",
    "textarea.gif",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ratatui widgets extended edition"
readme = "readme.md"
keywords = [
    "tui",
    "ratatui",
    "input",
    "widget",
]
categories = ["command-line-interface"]
license = "MIT/Apache-2.0"
repository = "https://github.com/thscharler/rat-salsa"
resolver = "2"

[features]
cli-clipboard = ["rat-text/cli-clipboard"]
default = []
user_directories = [
    "dep:dirs",
    "dep:sysinfo",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["unstable-locales"]

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.map_range_int]
version = "1.0"

[dependencies.rat-event]
version = "2.0"

[dependencies.rat-focus]
version = "2.0"

[dependencies.rat-ftable]
version = "2.1"

[dependencies.rat-menu]
version = "3.0"

[dependencies.rat-popup]
version = "3.0"

[dependencies.rat-reloc]
version = "2.0"

[dependencies.rat-scrolled]
version = "2.0"

[dependencies.rat-text]
version = "3.0"

[dependencies.ratatui-core]
version = "0.1"
features = [
    "std",
    "layout-cache",
]

[dependencies.ratatui-crossterm]
version = "0.1"

[dependencies.ratatui-widgets]
version = "0.3"
features = [
    "std",
    "unstable-rendered-line-info",
]

[dependencies.sysinfo]
version = "0.37"
optional = true

[dependencies.unicode-display-width]
version = "0.3"

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

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.chrono]
version = "0.4"
features = ["clock"]

[dev-dependencies.cli-clipboard]
version = "0.4"

[dev-dependencies.fern]
version = "0.7"

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

[dev-dependencies.pure-rust-locales]
version = "0.8"

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

[dev-dependencies.rat-theme4]
version = "4"
features = ["rat-widget"]
default-features = false

[dev-dependencies.sys-locale]
version = "0.3"

[lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"
comparison_chain = "allow"
if_same_then_else = "allow"