# 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 = "mahbot"
version = "0.1.1"
authors = ["edezhic <edezhic@gmail.com>"]
build = false
exclude = [".DS_Store"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An autonomous agentic engineering system that manages software development through role separation, subagents, and deterministic diagnostics."
homepage = "https://github.com/edezhic/mahbot"
readme = "README.md"
keywords = [
    "ai",
    "agent",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/edezhic/mahbot"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.base64]
version = "0.22"

[dependencies.candle-core]
version = "0.10.2"

[dependencies.candle-nn]
version = "0.10.2"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
    "serde",
]
default-features = false

[dependencies.directories]
version = "6.0"

[dependencies.fff-search]
version = "0.9"

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.iced]
version = "0.14"
features = [
    "tokio",
    "wgpu",
    "markdown",
    "advanced",
]
default-features = false

[dependencies.iced_anim]
version = "0.3"

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

[dependencies.iced_selection]
version = "0.5"
features = ["markdown"]

[dependencies.iced_term]
version = "0.8.0"

[dependencies.imagesize]
version = "0.14.0"

[dependencies.jsonrepair-rs]
version = "0.2"

[dependencies.rand]
version = "0.10"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "http2",
    "json",
    "stream",
    "rustls-tls",
    "multipart",
]
default-features = false

[dependencies.rust-embed]
version = "8"

[dependencies.self-replace]
version = "1.5"

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.sha2]
version = "0.10"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.22"

[dependencies.tokio]
version = "1.50"
features = [
    "rt-multi-thread",
    "macros",
    "process",
    "signal",
    "sync",
    "fs",
]
default-features = false

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
default-features = false

[dependencies.tracing]
version = "0.1"
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "json",
]
default-features = false

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

[dependencies.tree-sitter-bash]
version = "0.25"

[dependencies.tree-sitter-c]
version = "0.24"

[dependencies.tree-sitter-css]
version = "0.25"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-html]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-json]
version = "0.24"

[dependencies.tree-sitter-md]
version = "0.5.3"
features = ["parser"]

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-ruby]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-sequel]
version = "0.3"

[dependencies.tree-sitter-toml-ng]
version = "0.7"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.turso]
version = "0.6"
features = ["fts"]
default-features = false

[dependencies.turso_sdk_kit]
version = "0.6"
default-features = false

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

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

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_Security",
]

[profile.dev]
opt-level = 0
codegen-units = 256
debug = 0
incremental = true

[profile.dev.build-override]
opt-level = 0
codegen-units = 256
debug = 0

[profile.release]
opt-level = 2
lto = false
codegen-units = 32
panic = "unwind"
incremental = true
strip = false

[profile.test]
codegen-units = 256
debug = 0
inherits = "dev"
