# 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"
rust-version = "1.85"
name = "inkhaven"
version = "1.2.4"
authors = ["Vladimir Ulogov <vulogov@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Inkhaven — TUI literary work editor for Typst books"
homepage = "https://github.com/vulogov/blackInkhaven"
documentation = "https://github.com/vulogov/blackInkhaven/tree/main/Documentation"
readme = "README.md"
keywords = [
    "tui",
    "editor",
    "typst",
    "writing",
    "ai",
]
categories = [
    "command-line-utilities",
    "text-editors",
    "text-processing",
]
license = "Apache-2.0 AND MIT"
repository = "https://github.com/vulogov/blackInkhaven"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

[dependencies.bund_language_parser]
version = "=0.14.0"

[dependencies.bundcore]
version = "=0.7.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "wrap_help",
]

[dependencies.crossterm]
version = "0.28"

[dependencies.directories]
version = "6"

[dependencies.duckdb]
version = "1"
features = [
    "bundled",
    "r2d2",
]

[dependencies.easy-error]
version = "1"

[dependencies.fastembed]
version = "5"

[dependencies.futures-util]
version = "0.3"

[dependencies.genai]
version = "=0.6.0-beta.20"

[dependencies.humantime]
version = "2"

[dependencies.humantime-serde]
version = "1"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
    "webp",
]
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.pulldown-cmark]
version = "0.13"
default-features = false

[dependencies.quick-xml]
version = "0.36"

[dependencies.r2d2]
version = "0.8"

[dependencies.ratatui]
version = "0.29"

[dependencies.ratatui-image]
version = "5"

[dependencies.regex]
version = "1"

[dependencies.rodio]
version = "0.20"
default-features = false

[dependencies.rtf-parser-tt]
version = "0.5"

[dependencies.rust-stemmers]
version = "1.2"

[dependencies.rust_dynamic]
version = "=0.49.0"

[dependencies.rust_multistackvm]
version = "=0.38.0"

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

[dependencies.serde-hjson]
version = "1.1"

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "2"
features = ["text"]
default-features = false

[dependencies.slug]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.tree-sitter]
version = "0.20"

[dependencies.tree-sitter-highlight]
version = "0.20"

[dependencies.tui-textarea]
version = "0.7"
features = [
    "crossterm",
    "ratatui",
    "search",
]
default-features = false

[dependencies.tylax]
version = "0.3"
default-features = false

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

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dependencies.vecstore]
version = "1"

[dependencies.walkdir]
version = "2"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[build-dependencies.cc]
version = "1"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"
