crabllm-core 0.0.7

Core types for the crabllm LLM API gateway
Documentation
  • Coverage
  • 26.47%
    63 out of 238 items documented0 out of 0 items with examples
  • Size
  • Source code size: 37.63 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 16.93 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m Average build duration of successful builds.
  • all releases: 54s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • clearloop

crabllm-core

crates.io

Core types for the crabllm LLM API gateway.

  • ConfigGatewayConfig, ProviderConfig, ProviderKind, KeyConfig, StorageConfig, PricingConfig
  • Types — OpenAI-compatible wire format: ChatCompletionRequest/Response/Chunk, EmbeddingRequest/Response, ImageRequest, AudioSpeechRequest, ModelList
  • ErrorError enum with transient detection for retry logic, ApiError for OpenAI-format error responses
  • Storage — async KV Storage trait with MemoryStorage, SqliteStorage (storage-sqlite), RedisStorage (storage-redis)
  • ExtensionExtension trait with request pipeline hooks

License

MIT OR Apache-2.0