ratkit 0.2.7

A comprehensive collection of reusable TUI components for ratatui including resizable splits, tree views, markdown rendering, toast notifications, dialogs, and terminal embedding
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.70"
name = "ratkit"
version = "0.2.7"
authors = ["Alpha Innovation Labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive collection of reusable TUI components for ratatui including resizable splits, tree views, markdown rendering, toast notifications, dialogs, and terminal embedding"
homepage = "https://github.com/Alpha-Innovation-Labs/ratkit"
documentation = "https://docs.rs/ratkit"
readme = "README.md"
keywords = [
    "tui",
    "ratatui",
    "terminal",
    "widgets",
    "cli",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/Alpha-Innovation-Labs/ratkit"

[features]
ai-chat = [
    "reqwest",
    "serde",
    "serde_json",
]
all = [
    "button",
    "pane",
    "dialog",
    "toast",
    "statusline",
    "scroll",
    "menu-bar",
    "resizable-grid",
    "tree-view",
    "widget-event",
    "termtui",
    "markdown-preview",
    "code-diff",
    "ai-chat",
    "hotkey-footer",
    "file-system-tree",
    "theme-picker",
    "file-watcher",
    "git-watcher",
    "repo-watcher",
    "hotkey-service",
]
button = []
code-diff = ["similar"]
default = []
dialog = []
file-system-tree = ["devicons"]
file-watcher = ["notify"]
full = ["all"]
git-watcher = ["notify"]
hotkey-footer = []
hotkey-service = []
markdown-preview = [
    "pulldown-cmark",
    "syntect",
    "syntect-tui",
    "notify",
    "arboard",
    "dirs",
    "serde",
    "serde_json",
    "pane",
    "statusline",
    "file-watcher",
    "git-watcher",
]
menu-bar = ["widget-event"]
pane = []
repo-watcher = [
    "notify",
    "file-watcher",
    "git-watcher",
]
resizable-grid = []
scroll = []
services = [
    "file-watcher",
    "git-watcher",
    "repo-watcher",
    "hotkey-service",
]
statusline = []
termtui = [
    "compact_str",
    "serde",
    "unicode-segmentation",
    "log",
]
theme-picker = []
toast = []
tree-view = ["widget-event"]
widget-event = []
widgets = [
    "button",
    "pane",
    "dialog",
    "toast",
    "statusline",
    "scroll",
    "menu-bar",
    "resizable-grid",
    "tree-view",
    "widget-event",
    "markdown-preview",
    "code-diff",
    "ai-chat",
    "hotkey-footer",
    "file-system-tree",
    "theme-picker",
]

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

[[example]]
name = "ai_chat_ai_chat_demo"
path = "examples/ai_chat_ai_chat_demo.rs"
required-features = ["ai-chat"]

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

[[example]]
name = "code_diff_code_diff_demo"
path = "examples/code_diff_code_diff_demo.rs"
required-features = ["code-diff"]

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

[[example]]
name = "file_system_tree_file_system_tree_demo"
path = "examples/file_system_tree_file_system_tree_demo.rs"
required-features = ["file-system-tree"]

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

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

[[example]]
name = "hotkey_footer_hotkey_footer_demo"
path = "examples/hotkey_footer_hotkey_footer_demo.rs"
required-features = ["hotkey-footer"]

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

[[example]]
name = "markdown_preview_markdown_preview_demo"
path = "examples/markdown_preview_markdown_preview_demo.rs"
required-features = ["markdown-preview"]

[[example]]
name = "menu-bar_menu_bar_demo"
path = "examples/menu-bar_menu_bar_demo.rs"

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

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

[[example]]
name = "ratkit_demo"
path = "examples/ratkit_demo.rs"
required-features = [
    "button",
    "pane",
]

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

[[example]]
name = "resizable-grid_resizable_grid_demo"
path = "examples/resizable-grid_resizable_grid_demo.rs"

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

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

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

[[example]]
name = "theme_picker_theme_picker_demo"
path = "examples/theme_picker_theme_picker_demo.rs"
required-features = ["theme-picker"]

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

[[example]]
name = "tree-view_tree_view_demo"
path = "examples/tree-view_tree_view_demo.rs"

[[example]]
name = "widget-event_widget_event_demo"
path = "examples/widget-event_widget_event_demo.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"
optional = true

[dependencies.compact_str]
version = "0.8"
optional = true

[dependencies.crossterm]
version = "0.28"

[dependencies.devicons]
version = "0.6"
optional = true

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

[dependencies.log]
version = "0.4"
optional = true

[dependencies.notify]
version = "6"
optional = true

[dependencies.pulldown-cmark]
version = "0.12"
optional = true

[dependencies.ratatui]
version = "0.29"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

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

[dependencies.similar]
version = "2"
optional = true

[dependencies.syntect]
version = "5"
optional = true

[dependencies.syntect-tui]
version = "3"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1.10"
optional = true

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

[dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "serde",
]

[dev-dependencies.crossterm]
version = "0.28"

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

[dev-dependencies.portable-pty]
version = "0.8"

[dev-dependencies.ratatui]
version = "0.29"

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]

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

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

[dev-dependencies.tracing-subscriber]
version = "0.3"