Docs.rs
lean-ctx-3.5.4
lean-ctx 3.5.4
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
yvgude
Dependencies
anyhow ^1
normal
axum ^0.8
normal
optional
bytecount ^0.6.9
normal
chrono ^0.4
normal
crossterm ^0.28
normal
deadpool-postgres ^0.14
normal
optional
dirs ^5
normal
flate2 ^1
normal
futures ^0.3
normal
getrandom ^0.3
normal
glob ^0.3.3
normal
hex ^0.4
normal
optional
ignore ^0.4
normal
jsonwebtoken ^10.3
normal
optional
lettre ^0.11
normal
optional
libc ^0.2
normal
md-5 ^0.10
normal
rand ^0.9.3
normal
optional
ratatui ^0.30
normal
regex ^1
normal
reqwest ^0.13.2
normal
optional
rmcp ^1
normal
rpassword ^7.4.0
normal
rten ^0.24
normal
optional
rten-tensor ^0.24
normal
optional
rusqlite ^0.39.0
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
similar ^2
normal
tar ^0.4.45
normal
thiserror ^2
normal
tiktoken-rs ^0.6
normal
tokio ^1
normal
tokio-postgres ^0.7
normal
optional
tokio-util ^0.7
normal
toml ^0.8
normal
tower-http ^0.6
normal
optional
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
tree-sitter ^0.26
normal
optional
tree-sitter-bash ^0.25
normal
optional
tree-sitter-c ^0.24
normal
optional
tree-sitter-c-sharp ^0.23
normal
optional
tree-sitter-cpp ^0.23
normal
optional
tree-sitter-dart ^0.1
normal
optional
tree-sitter-elixir ^0.3
normal
optional
tree-sitter-go ^0.25
normal
optional
tree-sitter-java ^0.23
normal
optional
tree-sitter-javascript ^0.25
normal
optional
tree-sitter-kotlin-ng ^1.1
normal
optional
tree-sitter-php ^0.24
normal
optional
tree-sitter-python ^0.25
normal
optional
tree-sitter-ruby ^0.23
normal
optional
tree-sitter-rust ^0.24
normal
optional
tree-sitter-scala ^0.25
normal
optional
tree-sitter-swift ^0.7
normal
optional
tree-sitter-typescript ^0.23
normal
optional
tree-sitter-zig ^1.1
normal
optional
ureq ^3.3.0
normal
urlencoding ^2
normal
uuid ^1
normal
optional
walkdir ^2
normal
zip ^8.4.0
normal
criterion ^0.5
dev
tempfile ^3.27.0
dev
tower ^0.5
dev
Versions
11.65%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module daemon_client
lean_
ctx
3.5.4
Module daemon_
client
Module Items
Functions
In crate lean_
ctx
lean_ctx
Module
daemon_
client
Copy item path
Source
Functions
§
daemon_
health_
check
Check if the daemon is reachable by hitting /health.
daemon_
request
Send an HTTP request to the daemon over the Unix Domain Socket. Returns the response body as a string.
daemon_
tool_
call
Call a tool on the daemon’s REST API.
try_
daemon_
request
Attempt to connect to the daemon. Returns
None
if not running.
try_
daemon_
tool_
call_
blocking
Blocking helper for CLI commands: calls a daemon tool if the daemon is running. Returns
None
if the daemon is not running or the call fails. On Unix, attempts to auto-start the daemon if it’s not already running.
try_
daemon_
tool_
call_
blocking_
text
Like
try_daemon_tool_call_blocking
, but unwraps MCP JSON responses to text for CLI output.