[package]
edition = "2021"
name = "letta"
version = "0.1.2"
authors = ["Orual <orual@nonbinary.computer>"]
build = false
exclude = [
".claude",
"CLAUDE*",
".direnv",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A robust Rust client for the Letta REST API"
documentation = "https://docs.rs/letta"
readme = "README.md"
keywords = [
"letta",
"ai",
"agents",
"api",
"client",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/orual/letta-rs"
[package.metadata]
letta-server-version = "0.8.8"
[lib]
name = "letta"
path = "src/lib.rs"
[[bin]]
name = "letta-client"
path = "src/bin/letta.rs"
required-features = ["cli"]
[[test]]
name = "agent_deserialization_test"
path = "tests/agent_deserialization_test.rs"
[[test]]
name = "archival_memory_test"
path = "tests/archival_memory_test.rs"
[[test]]
name = "azure_message_test"
path = "tests/azure_message_test.rs"
[[test]]
name = "batch_api_test"
path = "tests/batch_api_test.rs"
[[test]]
name = "blocks_api_test"
path = "tests/blocks_api_test.rs"
[[test]]
name = "cloud_api_test"
path = "tests/cloud_api_test.rs"
[[test]]
name = "cloud_sources_test"
path = "tests/cloud_sources_test.rs"
[[test]]
name = "composio_integration_test"
path = "tests/composio_integration_test.rs"
[[test]]
name = "core_memory_test"
path = "tests/core_memory_test.rs"
[[test]]
name = "error_handling_test"
path = "tests/error_handling_test.rs"
[[test]]
name = "groups_api_test"
path = "tests/groups_api_test.rs"
[[test]]
name = "health_api_test"
path = "tests/health_api_test.rs"
[[test]]
name = "identities_api_test"
path = "tests/identities_api_test.rs"
[[test]]
name = "jobs_api_test"
path = "tests/jobs_api_test.rs"
[[test]]
name = "local_server_test"
path = "tests/local_server_test.rs"
[[test]]
name = "mcp_integration_test"
path = "tests/mcp_integration_test.rs"
[[test]]
name = "message_api_test"
path = "tests/message_api_test.rs"
[[test]]
name = "message_streaming_test"
path = "tests/message_streaming_test.rs"
[[test]]
name = "models_api_test"
path = "tests/models_api_test.rs"
[[test]]
name = "pagination_test"
path = "tests/pagination_test.rs"
[[test]]
name = "projects_api_test"
path = "tests/projects_api_test.rs"
[[test]]
name = "providers_api_test"
path = "tests/providers_api_test.rs"
[[test]]
name = "retry_test"
path = "tests/retry_test.rs"
[[test]]
name = "runs_api_test"
path = "tests/runs_api_test.rs"
[[test]]
name = "sources_api_test"
path = "tests/sources_api_test.rs"
[[test]]
name = "tags_api_test"
path = "tests/tags_api_test.rs"
[[test]]
name = "telemetry_api_test"
path = "tests/telemetry_api_test.rs"
[[test]]
name = "templates_api_test"
path = "tests/templates_api_test.rs"
[[test]]
name = "tools_api_test"
path = "tests/tools_api_test.rs"
[[test]]
name = "voice_api_test"
path = "tests/voice_api_test.rs"
[dependencies.bon]
version = "3.0"
[dependencies.bytes]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
optional = true
[dependencies.env_logger]
version = "0.11"
optional = true
[dependencies.eventsource-stream]
version = "0.2"
[dependencies.futures]
version = "0.3"
[dependencies.miette]
version = "7.0"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"rustls-tls",
"multipart",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.smart-default]
version = "0.7"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"fs",
"time",
"test-util",
"macros",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.0"
features = ["serde"]
[dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]
[dev-dependencies.mockito]
version = "1.5"
[dev-dependencies.proptest]
version = "1.0"
[dev-dependencies.serial_test]
version = "3.0"
[dev-dependencies.test-case]
version = "3.0"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[features]
cli = [
"dep:clap",
"dep:env_logger",
"miette/fancy",
]
default = []