# 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 = "agtrace-sdk"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public SDK for building observability tools on top of agtrace"
readme = "README.md"
keywords = [
    "agtrace",
    "sdk",
    "observability",
    "ai-agents",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lanegrid/agtrace"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

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

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

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

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

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

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

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

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

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

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

[dependencies.agtrace-core]
version = "0.7.1"

[dependencies.agtrace-engine]
version = "0.7.1"

[dependencies.agtrace-index]
version = "0.7.1"

[dependencies.agtrace-providers]
version = "0.7.1"

[dependencies.agtrace-runtime]
version = "0.7.1"

[dependencies.agtrace-types]
version = "0.7.1"

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

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

[dependencies.futures]
version = "0.3"

[dependencies.schemars]
version = "1.2.0"
features = ["derive"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "fs",
    "sync",
    "macros",
]

[dev-dependencies.anyhow]
version = "1.0"

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