Docs.rs
lc-core-0.8.0
lc-core 0.8.0
Docs.rs crate page
MIT
OR
Apache-2.0
04 August 2026
Links
Repository
crates.io
Source
Owners
atliliw
Dependencies
async-trait ^0.1
normal
chrono ^0.4
normal
futures-util ^0.3
normal
lc-callbacks ^0.8.0
normal
lc-schema ^0.8.0
normal
lc-shared ^0.8.0
normal
regex ^1
normal
reqwest ^0.12
normal
schemars ^0.8
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tiktoken-rs ^0.5
normal
tokio ^1.0
normal
uuid ^1.10
normal
Versions
87.14%
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 llm_cache
lc_core
0.8.0
Module llm_
cache
Module Items
Structs
In lc_
core::
cache
lc_core
::
cache
Module
llm_
cache
Copy item path
Source
Expand description
LLM 调用缓存实现
基于内存的 LRU 缓存,缓存重复的 LLM 调用结果。 支持可选的 TTL 过期和最大条目限制。
Structs
§
Cache
Config
缓存配置
CachedLLM
Result
缓存的 LLM 结果,包含过期时间
LLMCache
LLM 调用缓存