terraphim_service 1.10.0

Terraphim service for handling user requests and responses.
# 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 = "terraphim_service"
version = "1.10.0"
authors = ["Terraphim Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terraphim service for handling user requests and responses."
homepage = "https://terraphim.ai"
documentation = "https://terraphim.ai"
readme = "README.md"
keywords = [
    "personal-assistant",
    "ai",
    "privacy",
    "service",
]
license = "Apache-2.0"
repository = "https://github.com/terraphim/terraphim-ai"
resolver = "2"

[features]
default = [
    "ollama",
    "llm_router",
]
llm_router = ["dep:terraphim_router"]
ollama = []
openrouter = ["terraphim_config/openrouter"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ahash]
version = "0.8.8"
features = ["serde"]

[dependencies.async-stream]
version = "0.3"

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

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

[dependencies.env_logger]
version = "0.11"

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

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.19"

[dependencies.opendal]
version = "0.54"

[dependencies.regex]
version = "1.11.0"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.strsim]
version = "0.11.1"

[dependencies.terraphim_automata]
version = "1.0.0"
features = [
    "remote-loading",
    "tokio-runtime",
]

[dependencies.terraphim_config]
version = "1.0.0"

[dependencies.terraphim_middleware]
version = "1.0.0"

[dependencies.terraphim_persistence]
version = "1.0.0"

[dependencies.terraphim_rolegraph]
version = "1.0.0"

[dependencies.terraphim_router]
version = "1.0.0"
optional = true

[dependencies.terraphim_types]
version = "1.0.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tracing]
version = "0.1"
optional = true

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

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

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

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

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

[dev-dependencies.terraphim_settings]
version = "1.0.0"

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

[dev-dependencies.tracing]
version = "0.1"

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