formulaa 0.1.0

WYSIWYG TUI math editor rendering Unicode/ASCII-art formulas
Documentation
[package]
name = "formulaa"
version = "0.1.0"
edition = "2024"
description = "WYSIWYG TUI math editor rendering Unicode/ASCII-art formulas"
license = "MIT"
repository = "https://github.com/ho-oto/formulaa"
readme = "README.md"
keywords = ["math", "latex", "tui", "ascii-art", "editor"]
categories = [
    "command-line-utilities",
    "text-editors",
    "mathematics",
    "text-processing",
]
# The agent guide and the CI config say nothing to someone depending on
# the crate (and CLAUDE.md is a symlink to AGENTS.md).
# …and the demo recordings, which are megabytes of GIF that a
# dependency has no use for.
exclude = ["/.github/", "/.markdownlint.yaml", "/AGENTS.md", "/CLAUDE.md", "/demo/"]

[features]
default = ["tui"]
# The TUI binary; the library (AST/render/parse/editor) has no TUI deps,
# so wasm builds use default-features = false.
tui = ["dep:ratatui", "dep:arboard", "dep:clap", "dep:crossterm"]

[dependencies]
phf = { version = "0.14", features = ["macros"] }
ratatui = { version = "0.30", optional = true }
arboard = { version = "3", optional = true }
clap = { version = "4.6.6", features = ["derive"], optional = true }
# Named only for `use-dev-tty` (ratatui brings the same crossterm):
# with `formulaa -` the formula arrives on stdin, and crossterm's
# default reader — which takes keys from stdin — then fails to start at
# all. This one reads the terminal directly.
crossterm = { version = "0.29", features = ["use-dev-tty"], optional = true }

[[bin]]
name = "formulaa"
required-features = ["tui"]