# 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.80"
name = "synaps"
version = "0.3.2"
authors = ["Haseeb Khalid <haseebkhalid1507@gmail.com>"]
build = false
exclude = [
    ".github/",
    "docs/",
    "tests/fixtures/",
    "examples/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal-native AI agent runtime — parallel orchestration, reactive subagents, MCP, autonomous supervision"
homepage = "https://github.com/HaseebKhalid1507/SynapsCLI"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "terminal",
    "cli",
    "rust",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/HaseebKhalid1507/SynapsCLI"

[package.metadata.deb]
maintainer = "Haseeb Khalid <haseebkhalid1507@gmail.com>"
copyright = "2026, Haseeb Khalid"
license-file = [
    "LICENSE",
    "0",
]
extended-description = "Terminal-native AI agent runtime. Parallel orchestration, reactive subagents, MCP client, autonomous watcher daemon."
section = "utils"
priority = "optional"
assets = [[
    "target/release/synaps",
    "usr/bin/",
    "755",
]]

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

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

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

[[test]]
name = "contracts_sync"
path = "tests/contracts_sync.rs"

[[test]]
name = "extension_provider_stream_route"
path = "tests/extension_provider_stream_route.rs"

[[test]]
name = "extension_provider_streaming"
path = "tests/extension_provider_streaming.rs"

[[test]]
name = "extension_provider_streaming_transport"
path = "tests/extension_provider_streaming_transport.rs"

[[test]]
name = "extension_provider_tool_loop"
path = "tests/extension_provider_tool_loop.rs"

[[test]]
name = "extension_provider_tool_use"
path = "tests/extension_provider_tool_use.rs"

[[test]]
name = "extensions_config"
path = "tests/extensions_config.rs"

[[test]]
name = "extensions_contract"
path = "tests/extensions_contract.rs"

[[test]]
name = "extensions_e2e"
path = "tests/extensions_e2e.rs"

[[test]]
name = "extensions_info"
path = "tests/extensions_info.rs"

[[test]]
name = "extensions_memory"
path = "tests/extensions_memory.rs"

[[test]]
name = "extensions_process"
path = "tests/extensions_process.rs"

[[test]]
name = "extensions_sidecar_spawn_args"
path = "tests/extensions_sidecar_spawn_args.rs"

[[test]]
name = "help_find_phase6"
path = "tests/help_find_phase6.rs"

[[test]]
name = "help_find_state"
path = "tests/help_find_state.rs"

[[test]]
name = "help_plugin_namespace"
path = "tests/help_plugin_namespace.rs"

[[test]]
name = "help_registry"
path = "tests/help_registry.rs"

[[test]]
name = "help_slash_discovery"
path = "tests/help_slash_discovery.rs"

[[test]]
name = "pi_skills_compat"
path = "tests/pi_skills_compat.rs"

[[test]]
name = "plugins_manage"
path = "tests/plugins_manage.rs"

[[test]]
name = "rpc_e2e"
path = "tests/rpc_e2e.rs"

[[test]]
name = "rpc_protocol"
path = "tests/rpc_protocol.rs"

[[test]]
name = "shell_pty"
path = "tests/shell_pty.rs"

[[test]]
name = "sidecar_manager_protocol"
path = "tests/sidecar_manager_protocol.rs"

[[test]]
name = "skills_plugin"
path = "tests/skills_plugin.rs"

[dependencies.agent-core]
version = "0.3.2"
package = "synaps-core"

[dependencies.agent-engine]
version = "0.3.2"
package = "synaps-engine"

[dependencies.agent-tui]
version = "0.3.2"
package = "synaps-tui"

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1"

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

[dependencies.axum]
version = "0.7"
features = ["ws"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.67"

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.dirs]
version = "5"

[dependencies.fs4]
version = "0.13"

[dependencies.futures]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.memchr]
version = "2"

[dependencies.notify]
version = "6.1"

[dependencies.portable-pty]
version = "0.9"

[dependencies.rand]
version = "0.9"

[dependencies.ratatui]
version = "0.29"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.signal-hook]
version = "0.3"
features = ["iterator"]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1.0"

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

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

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

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1.0"
features = ["v4"]

[dev-dependencies.serial_test]
version = "3.4.0"

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

[profile.dev]
debug = "line-tables-only"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
