# 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"
name = "sofos"
version = "0.4.0"
authors = ["Alexander Alexandrov"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An interactive AI coding agent for your terminal"
documentation = "https://docs.rs/sofos"
readme = "README.md"
keywords = [
    "cli",
    "ai",
    "llm",
    "coding-agent",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/alexylon/sofos-code"

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

[[example]]
name = "async_tasks"
path = "examples/async_tasks.rs"

[[example]]
name = "calculator"
path = "examples/calculator.rs"

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

[dependencies.arboard]
version = "3"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

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

[dependencies.colored]
version = "3"

[dependencies.crossterm]
version = "0.29"

[dependencies.futures]
version = "0.3"

[dependencies.globset]
version = "0.4"

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

[dependencies.libc]
version = "0.2"

[dependencies.os_pipe]
version = "1"

[dependencies.png]
version = "0.18"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.rand]
version = "0.10"

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

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "native-tls",
    "http2",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "3"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "1"

[dependencies.toml_edit]
version = "0.25"

[dependencies.tracing]
version = "0.1"

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

[dependencies.tui-textarea]
version = "0.11"
package = "tui-textarea-2"

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

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

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_Diagnostics_Debug",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]

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