[package]
edition = "2021"
rust-version = "1.95"
name = "kyma-server"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP + gRPC query API, auth stub, health, observability."
readme = false
license = "MIT"
[features]
cloud-auth = []
default = []
test-support = [
"dep:kyma-format-tlm",
"dep:object_store",
"dep:testcontainers",
"dep:testcontainers-modules",
]
web-ui = [
"dep:kyma-web-assets",
"dep:tonic-web",
"dep:http-body-util",
]
[lib]
name = "kyma_server"
path = "src/lib.rs"
[[test]]
name = "auth_backends_it"
path = "tests/auth_backends_it.rs"
required-features = [
"test-support",
"cloud-auth",
]
[[test]]
name = "auth_catalog_it"
path = "tests/auth_catalog_it.rs"
required-features = ["test-support"]
[[test]]
name = "auth_handler_it"
path = "tests/auth_handler_it.rs"
required-features = ["test-support"]
[[test]]
name = "catalog_http"
path = "tests/catalog_http.rs"
required-features = ["test-support"]
[[test]]
name = "claude_cli_smoke"
path = "tests/claude_cli_smoke.rs"
[[test]]
name = "cleanup_http"
path = "tests/cleanup_http.rs"
required-features = ["test-support"]
[[test]]
name = "dashboards_http"
path = "tests/dashboards_http.rs"
required-features = ["test-support"]
[[test]]
name = "discover_saved_views_it"
path = "tests/discover_saved_views_it.rs"
required-features = ["test-support"]
[[test]]
name = "discover_search_it"
path = "tests/discover_search_it.rs"
[[test]]
name = "flight_smoke"
path = "tests/flight_smoke.rs"
[[test]]
name = "flight_web_smoke"
path = "tests/flight_web_smoke.rs"
required-features = [
"web-ui",
"test-support",
]
[[test]]
name = "memory_import_authz_it"
path = "tests/memory_import_authz_it.rs"
[[test]]
name = "session_backend_it"
path = "tests/session_backend_it.rs"
required-features = ["test-support"]
[[test]]
name = "web_assets"
path = "tests/web_assets.rs"
[dependencies.adk-rust]
version = "0.6"
features = [
"agents",
"models",
"ollama",
"anthropic",
"openai",
"tools",
"sessions",
"runner",
]
default-features = false
[dependencies.anyhow]
version = "1"
[dependencies.argon2]
version = "0.5"
[dependencies.arrow]
version = "53"
[dependencies.arrow-array]
version = "53"
[dependencies.arrow-flight]
version = "53"
[dependencies.arrow-schema]
version = "53"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.7"
features = [
"macros",
"http2",
]
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.claude-code-agent-sdk]
version = "0.1.39"
[dependencies.datafusion]
version = "44"
[dependencies.futures]
version = "0.3"
[dependencies.http-body-util]
version = "0.1"
optional = true
[dependencies.kyma-catalog]
version = "0.0.1"
[dependencies.kyma-connectors]
version = "0.0.1"
[dependencies.kyma-core]
version = "0.0.1"
[dependencies.kyma-exec]
version = "0.0.1"
[dependencies.kyma-format-tlm]
version = "0.0.1"
optional = true
[dependencies.kyma-graph]
version = "0.0.1"
[dependencies.kyma-kql]
version = "0.0.1"
[dependencies.kyma-memory]
version = "0.0.1"
[dependencies.kyma-plan]
version = "0.0.1"
[dependencies.kyma-web-assets]
version = "0.0.1"
optional = true
[dependencies.metrics]
version = "0.24"
[dependencies.metrics-exporter-prometheus]
version = "0.17"
default-features = false
[dependencies.object_store]
version = "0.11"
features = ["aws"]
optional = true
[dependencies.opentelemetry]
version = "0.27"
[dependencies.opentelemetry_sdk]
version = "0.27"
features = ["rt-tokio"]
[dependencies.prost]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"http2",
"stream",
]
default-features = false
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
"macros",
]
[dependencies.testcontainers]
version = "0.23"
optional = true
[dependencies.testcontainers-modules]
version = "0.11"
features = [
"postgres",
"minio",
]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tonic]
version = "0.12"
[dependencies.tonic-web]
version = "0.12"
optional = true
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = [
"trace",
"cors",
"compression-gzip",
"request-id",
"util",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.28"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dependencies.which]
version = "6"
[dev-dependencies.arrow-array]
version = "53"
[dev-dependencies.arrow-schema]
version = "53"
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.kyma-catalog]
version = "0.0.1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
"macros",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"full",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
uninlined_format_args = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "allow"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"