# 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.92"
name = "konoma"
version = "0.11.3"
build = false
exclude = [
    "/vendor",
    "/docs",
    "/git-demo",
    "/git-sandbox",
    "/scripts",
    "/.claude",
    "/.mcp.json",
    "/CLAUDE.md",
    "/.DS_Store",
    "/.github",
    "/about.toml",
    "/about.hbs",
    "/assets",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Full-screen preview-focused terminal file browser (macOS Apple Silicon)"
readme = "README.md"
keywords = [
    "tui",
    "file-manager",
    "preview",
    "ratatui",
    "kitty-graphics",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/LESIM-Co-Ltd/konoma"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"

[features]
default = ["git"]
git = ["dep:git2"]

[[bin]]
name = "konoma"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

[dependencies.crossterm]
version = "0.29"

[dependencies.csv]
version = "1"

[dependencies.git2]
version = "0.21"
optional = true

[dependencies.globset]
version = "0.4"

[dependencies.image]
version = "0.25"

[dependencies.infer]
version = "0.16"

[dependencies.mermaid-text]
version = "0.56"

[dependencies.notify]
version = "8.2.0"

[dependencies.ratatui]
version = "0.30"
features = ["unstable-rendered-line-info"]

[dependencies.ratatui-image]
version = "11"
features = [
    "crossterm",
    "image-defaults",
    "tokio",
]
default-features = false

[dependencies.resvg]
version = "0.47"

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

[dependencies.syntect]
version = "5"
features = ["default-fancy"]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "process",
    "sync",
]

[dependencies.toml]
version = "0.8"

[dependencies.trash]
version = "5"

[dependencies.tui-markdown]
version = "0.3.7"
default-features = false

[dependencies.two-face]
version = "0.5"
features = ["syntect-fancy"]
default-features = false

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

[profile.dev.package.fancy-regex]
opt-level = 3

[profile.dev.package.regex]
opt-level = 3

[profile.dev.package.regex-automata]
opt-level = 3

[profile.dev.package.regex-syntax]
opt-level = 3

[profile.dev.package.syntect]
opt-level = 3

[profile.release]
opt-level = 3
lto = true
