# 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 = "mq-tui"
version = "0.1.7"
authors = ["Takahiro Sato <harehare1110@gmail.com>"]
build = false
exclude = [
    "tests/*",
    "examples/*",
    "docs/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TUI for mq, a jq-like Markdown processing tool"
documentation = "https://mqlang.org/book/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/harehare/mq-tui"

[package.metadata.binstall]
pkg-fmt = "bin"
pkg-url = "{ repo }/releases/download/v{ version }/mq-tui-{ target }{ binary-ext }"

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

[[bin]]
name = "mq-tui"
path = "src/main.rs"

[dependencies.arboard]
version = "3.6.1"
default-features = false

[dependencies.clap]
version = "4.5.53"
features = ["derive"]

[dependencies.crossterm]
version = "0.29.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.29"

[dependencies.miette]
version = "7.6.0"
features = ["fancy"]

[dependencies.mq-lang]
version = "0.5.9"

[dependencies.mq-markdown]
version = "0.5.9"

[dependencies.ratatui]
version = "0.30.0"

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

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
