just-common 0.1.0

Shared HTTP transport, SSE stream parsing, and error types for the just-agent ecosystem
Documentation

just-common

Shared HTTP transport, SSE stream parsing, and error types for the just-agent ecosystem.

Overview

This crate provides the internal building blocks used by the just-agent provider crates:

  • Authenticated HTTP transport — reqwest-based transport construction with JSON helpers.
  • SSE stream parsingJsonEventStream for parsing server-sent event streams into typed JSON chunks.
  • Error types — shared TransportError for protocol-level error handling.

Note: This is an implementation dependency. You typically won't depend on it directly. Instead, use one of the crates below.

Ecosystem

Crate Description
just-llm-client Provider-neutral LLM client — the recommended entry point
just-deepseek Rust client for the DeepSeek API
just-openai-compat Rust client for any OpenAI-compatible API