just-deepseek
Rust client for the DeepSeek API.
Quick start
# Cargo.toml
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
use ;
async
Highlights
- Streaming —
stream_chat_completion()returns aStreamof typed chunks. - Thinking mode — Enable extended reasoning with
ThinkingConfigandReasoningEffort. - Tool calling — Full tool-calling loop with
ToolDefinitionandToolCallsMessage. - Wire-level DTOs — Request/response types mirror the upstream DeepSeek API shape.
Looking for a provider-neutral interface? Check out just-llm-client for a unified LLM client with capability traits, runtime provider selection, and tool dispatch.
Ecosystem
| Crate | Description |
|---|---|
| just-llm-client | Provider-neutral LLM client — recommended entry point |
| just-openai-compat | Rust client for any OpenAI-compatible API |
| just-common | Shared transport and error types |