# 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 = "smooai-smooth-operator"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference core for smooth-operator: domain model + StorageAdapter seam over smooth-operator."
readme = false
license = "MIT"
repository = "https://github.com/SmooAI/smooth-operator"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.jsonwebtoken]
version = "10"
features = [
    "use_pem",
    "rust_crypto",
]
default-features = false

[dependencies.octocrab]
version = "0.53"
features = [
    "default-client",
    "follow-redirect",
    "retry",
    "rustls",
    "rustls-ring",
    "timeout",
    "tracing",
    "stream",
    "jwt-rust-crypto",
]
default-features = false

[dependencies.opentelemetry]
version = "0.32"

[dependencies.opentelemetry-otlp]
version = "0.32"
features = [
    "trace",
    "grpc-tonic",
]
default-features = false

[dependencies.opentelemetry_sdk]
version = "0.32"
features = ["rt-tokio"]

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

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.smooai-smooth-operator-core]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.33"

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

[dependencies.url]
version = "2"

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

[dev-dependencies.futures-util]
version = "0.3"

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

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

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