Docs.rs
lean-ctx-2.9.16
lean-ctx 2.9.16
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
yvgude
Dependencies
anyhow ^1
normal
chrono ^0.4
normal
dirs ^5
normal
flate2 ^1
normal
ignore ^0.4
normal
md-5 ^0.10
normal
regex ^1
normal
rmcp ^1
normal
serde ^1
normal
serde_json ^1
normal
similar ^2
normal
tar ^0.4.45
normal
tiktoken-rs ^0.6
normal
tokio ^1
normal
toml ^0.8
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
tree-sitter ^0.26
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-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-swift ^0.7
normal
optional
tree-sitter-typescript ^0.23
normal
optional
ureq ^3.3.0
normal
walkdir ^2
normal
zip ^8.4.0
normal
Versions
5.31%
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 version_check
lean_
ctx
2.9.16
Module version_
check
Module Items
Functions
In lean_
ctx::
core
lean_ctx
::
core
Module
version_
check
Copy item path
Source
Functions
§
check_
background
Spawn a background thread to fetch latest version from leanctx.com/version.txt and write the result to ~/.lean-ctx/latest-version.json. Non-blocking, fire-and-forget. Skips if cache is fresh (<24h).
get_
update_
banner
Returns a formatted yellow update banner if a newer version is available. Reads only the local cache file — zero network calls, zero delay.
version_
info_
json
Returns version info as JSON for the dashboard /api/version endpoint.