lago-api 0.3.0

HTTP REST API and SSE streaming for the Lago agent runtime
Documentation
# 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"
rust-version = "1.93"
name = "lago-api"
version = "0.3.0"
authors = ["Life Agent OS Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP REST API and SSE streaming for the Lago agent runtime"
readme = false
keywords = [
    "agent",
    "ai",
    "llm",
    "rust",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/broomva/life"
resolver = "2"

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

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

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

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

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.futures]
version = "0.3"

[dependencies.infer]
version = "0.16"

[dependencies.lago-auth]
version = "0.3.0"

[dependencies.lago-core]
version = "0.3.0"

[dependencies.lago-fs]
version = "0.3.0"

[dependencies.lago-journal]
version = "0.3.0"

[dependencies.lago-knowledge]
version = "0.3.0"

[dependencies.lago-policy]
version = "0.3.0"

[dependencies.lago-store]
version = "0.3.0"

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.16"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.metrics]
version = "0.24"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.16"

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