mindfork 0.11.0

A terminal AI chat written in Rust: local models via llama.cpp or OpenAI, Anthropic, Gemini and Grok in the cloud, with persistent memory, notes, RAG and tools.
# 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.96"
name = "mindfork"
version = "0.11.0"
build = "build.rs"
include = [
    "src/**/*",
    "build.rs",
    "locales/*.json",
    "syntaxes/**/*",
    "dictionaries/**/*",
    "assets/mindfork.ico",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
    "DISCLAIMER.md",
    "PRIVACY.md",
    "docs/legal/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal AI chat written in Rust: local models via llama.cpp or OpenAI, Anthropic, Gemini and Grok in the cloud, with persistent memory, notes, RAG and tools."
homepage = "https://mindfork.io"
documentation = "https://github.com/vshylov/mindfork-rs/blob/main/docs/manual.md"
readme = "README.md"
keywords = [
    "llm",
    "chat",
    "tui",
    "llama-cpp",
    "ai",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/vshylov/mindfork-rs"

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

[dependencies.ansi-to-tui]
version = "8.0.1"

[dependencies.anyhow]
version = "1.0.103"

[dependencies.arboard]
version = "3.4.1"
features = ["image-data"]
default-features = false

[dependencies.async-stream]
version = "0.3.6"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.base64]
version = "0.23.1"

[dependencies.bytemuck]
version = "1.25.0"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chardetng]
version = "1.0.0"

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

[dependencies.crossterm]
version = "0.29.0"

[dependencies.directories]
version = "6.0.0"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.flate2]
version = "1.0"

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

[dependencies.hkdf]
version = "0.13.0"

[dependencies.ignore]
version = "0.4.23"

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

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

[dependencies.pdf-extract]
version = "0.12.0"

[dependencies.percent-encoding]
version = "2.3.2"

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

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

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

[dependencies.regex]
version = "1.12.4"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "stream",
    "rustls",
    "form",
]
default-features = false

[dependencies.rodio]
version = "0.22.0"
features = [
    "playback",
    "wav",
    "mp3",
]
default-features = false

[dependencies.rusqlite]
version = "0.40.1"
features = [
    "bundled",
    "serialize",
]

[dependencies.scraper]
version = "0.27.0"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sha2]
version = "0.11"

[dependencies.similar]
version = "3.2.0"

[dependencies.single-instance]
version = "0.3.3"

[dependencies.spellbook]
version = "0.4.2"

[dependencies.sqlite-vec]
version = "0.1.9"

[dependencies.syntect]
version = "5.3.0"
features = [
    "parsing",
    "regex-onig",
    "dump-load",
]
default-features = false

[dependencies.sys-locale]
version = "0.3"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "process",
    "time",
    "io-util",
    "rt",
]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-appender]
version = "0.2.5"

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

[dependencies.tui-scrollview]
version = "0.6.5"

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

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

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

[dependencies.zip]
version = "2.2.2"
features = [
    "deflate",
    "aes-crypto",
]
default-features = false

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

[dev-dependencies.tokio]
version = "1.52.3"
features = ["test-util"]

[build-dependencies.syntect]
version = "5.3.0"
features = [
    "parsing",
    "default-syntaxes",
    "regex-onig",
    "yaml-load",
    "dump-create",
    "dump-load",
]
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_System_JobObjects",
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Cryptography",
    "Win32_System_Console",
    "Win32_System_Threading",
    "Win32_UI_Input_KeyboardAndMouse",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
]

[target."cfg(windows)".build-dependencies.winresource]
version = "0.1.31"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true