[package]
edition = "2024"
name = "lean-ctx-cloud"
version = "3.12.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The LeanCTX Cloud connector: enrollment, bus, knowledge sync, tasks and policy on top of LeanCTX | OSS."
homepage = "https://leanctx.com"
readme = "README.md"
keywords = [
"lean-ctx",
"llm",
"mcp",
"context",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/yvgude/lean-ctx"
[features]
default = []
http-server = [
"lean-ctx-engine/http-server",
"dep:tokio-tungstenite",
"dep:rustls",
]
test-support = ["lean-ctx-engine/test-support"]
[lib]
name = "lean_ctx_cloud"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22"
[dependencies.blake3]
version = "1.8"
[dependencies.chacha20poly1305]
version = "0.10"
[dependencies.dirs]
version = "6.0"
[dependencies.ed25519-dalek]
version = "2.2"
features = ["rand_core"]
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.getrandom]
version = "0.4"
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.13"
[dependencies.hmac]
version = "0.13"
[dependencies.http]
version = "1.4"
[dependencies.lean-ctx-apps]
version = "=3.12.8"
[dependencies.lean-ctx-doc]
version = "0.2.1"
[dependencies.lean-ctx-engine]
version = "=3.12.8"
default-features = false
[dependencies.lean-ctx-protocol]
version = "0.9.0"
[dependencies.lean-ctx-tasks]
version = "0.4.0"
[dependencies.lean-ctx-time]
version = "0.1.0"
[dependencies.libc]
version = "0.2"
[dependencies.p256]
version = "0.14"
features = [
"ecdsa",
"pkcs8",
"std",
]
default-features = false
[dependencies.proc-macro2]
version = "1.0"
default-features = false
[dependencies.regex]
version = "1.12"
[dependencies.rusqlite]
version = "0.41"
features = ["bundled"]
[dependencies.rustls]
version = "0.23.45"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = [
"float_roundtrip",
"raw_value",
]
[dependencies.sha2]
version = "0.11"
[dependencies.syn]
version = "2.0"
features = [
"full",
"visit",
"parsing",
]
default-features = false
[dependencies.tempfile]
version = "3.27"
[dependencies.tokio]
version = "1.52"
features = [
"rt",
"rt-multi-thread",
"macros",
"io-std",
"io-util",
"net",
"sync",
"time",
"signal",
"process",
]
[dependencies.tokio-tungstenite]
version = "0.29"
features = [
"connect",
"rustls-tls-webpki-roots",
]
optional = true
default-features = false
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-general-category]
version = "1.1"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.unicode-security]
version = "0.1.3"
[dependencies.ureq]
version = "3.3"
features = ["platform-verifier"]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.zeroize]
version = "1"
[dependencies.zstd]
version = "0.14.3"
[dev-dependencies.jsonschema]
version = "0.46"
default-features = false
[dev-dependencies.lean-ctx-engine]
version = "=3.12.8"
features = [
"test-support",
"tree-sitter",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.keyring]
version = "3.6.3"
features = [
"sync-secret-service",
"vendored",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.keyring]
version = "3.6.3"
features = ["apple-native"]
default-features = false
[target."cfg(windows)".dependencies.keyring]
version = "3.6.3"
features = ["windows-native"]
default-features = false
[lints.clippy]
assert_is_empty = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
enum_variant_names = "allow"
float_cmp = "allow"
format_push_string = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
manual_pattern_char_comparison = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "allow"
no_effect_underscore_binding = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
used_underscore_binding = "allow"
useless_conversion = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]