26382a7ac6
CI / Clippy (push) Failing after 15m13s
CI / Test (ubuntu-latest) (push) Failing after 16m1s
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Build (no embeddings / no ORT) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Cookbook (Node) (push) Has been cancelled
CI / Pi Extension (Node) (push) Has been cancelled
CI / Rust SDK (lean-ctx-client) (push) Has been cancelled
CI / Embed SDK (lean-ctx-sdk) (push) Has been cancelled
CI / Python SDK (leanctx) (push) Has been cancelled
CI / Hermes Plugin (Python) (push) Has been cancelled
CI / SDK Conformance Matrix (push) Has been cancelled
CI / Coverage (push) Has been cancelled
CI / cargo-deny (push) Has been cancelled
CI / Adversarial Safety (push) Has been cancelled
CI / Benchmarks (push) Has been cancelled
CI / Output-Quality Gate (eval A/B) (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / CI Green (push) Has been cancelled
JetBrains Plugin / Actionlint (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (rust) (push) Has been cancelled
JetBrains Plugin / Validation (push) Has been cancelled
JetBrains Plugin / Build (push) Has been cancelled
JetBrains Plugin / Test (push) Has been cancelled
Security Check / Security Scan (push) Has been cancelled
44 lines
1.7 KiB
TOML
44 lines
1.7 KiB
TOML
[package]
|
|
name = "lean-ctx-sdk"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
license = "Apache-2.0"
|
|
description = "In-process embedding SDK for lean-ctx — a stable Rust façade over the context engine (Engine handle with a shared session cache, read/search/symbol surface, compression, tokenization, addon authoring/audit)."
|
|
repository = "https://github.com/yvgude/lean-ctx"
|
|
keywords = ["mcp", "llm", "tokens", "context", "embedding"]
|
|
categories = ["development-tools", "api-bindings"]
|
|
readme = "README.md"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "lean_ctx_sdk"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# Path dependency on the engine. The SDK is a *thin façade*: it re-exposes a
|
|
# curated, stable subset behind its own types so consumers are insulated from
|
|
# internal churn. (Surface map + workspace-split rationale: docs/rfcs/sdk-embedding-v1.md.)
|
|
#
|
|
# `default-features = false` drops the engine's `jemalloc` feature so embedding
|
|
# the SDK does NOT force a `#[global_allocator]` onto the host binary — the one
|
|
# real embedder landmine. Every other default feature is kept verbatim because
|
|
# the engine currently references `proxy`/`http_server`/`ort` unconditionally;
|
|
# `tree-sitter` in particular powers the AST read modes (signatures/map).
|
|
lean-ctx = { path = "../..", default-features = false, features = [
|
|
"tree-sitter",
|
|
"embeddings",
|
|
"http-server",
|
|
"team-server",
|
|
"secure-update",
|
|
] }
|
|
# Multi-thread runtime: the engine's tool handlers use `block_in_place` /
|
|
# `Handle::block_on` internally, which require a multi-threaded Tokio runtime.
|
|
tokio = { version = "1", features = ["rt-multi-thread", "time"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|