# 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 = "dakera-client"
version = "0.11.83"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client SDK for Dakera AI Agent Memory Platform"
homepage = "https://dakera.ai"
documentation = "https://docs.rs/dakera-client"
readme = "README.md"
keywords = [
    "agent-memory",
    "vector-search",
    "knowledge-graph",
    "ai-agents",
    "mcp",
]
categories = [
    "database",
    "science",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/dakera-ai/dakera-rs"

[features]
default = ["http-client"]
full = [
    "http-client",
    "grpc",
]
grpc = [
    "dep:tonic",
    "dep:prost",
    "dep:tower",
    "dep:http-body-util",
    "dep:bytes",
    "dep:http",
]
http-client = [
    "dep:reqwest",
    "dep:futures-util",
    "dep:urlencoding",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.5"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.http]
version = "1.1"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.prost]
version = "0.14"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "rustls-native-certs",
    "stream",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tonic]
version = "0.14"
optional = true

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "limit",
    "buffer",
    "timeout",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2.1"
optional = true

[dev-dependencies.mockito]
version = "1"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
]
