# 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"
name = "sage-core"
version = "0.13.56"
authors = ["Sage Agent Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for Sage Agent"
readme = false
keywords = [
    "llm",
    "agent",
    "ai",
    "code-agent",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/majiayu000/sage"
resolver = "2"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.colored]
version = "2.0"

[dependencies.config]
version = "0.14"

[dependencies.dashmap]
version = "6.0"

[dependencies.dirs]
version = "5.0"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

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

[dependencies.notify]
version = "7.0"

[dependencies.notify-debouncer-mini]
version = "0.5"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9.3"

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10.9"

[dependencies.shell-words]
version = "1.1"

[dependencies.shellexpand]
version = "3.0"

[dependencies.tempfile]
version = "3.10"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["io-util"]

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.mockall]
version = "0.12"

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

[dev-dependencies.tokio-test]
version = "0.4"

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

[dev-dependencies.wiremock]
version = "0.6"

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

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
]
