Docs.rs
  • toast-api-0.1.2
    • toast-api 0.1.2
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • fourlexboehm
    • Dependencies
      • anyhow ^1 normal
      • axum ^0.7 normal
      • brotli ^3.3 normal
      • chrono ^0.4 normal
      • clap ^4 normal
      • ctrlc ^3 normal
      • dashmap ^5.5 normal
      • dirs ^5.0 normal
      • flate2 ^1.0 normal
      • lazy_static ^1 normal
      • regex ^1 normal
      • rquest ^5.1.0 normal
      • rquest-util ^2.2.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • tokio ^1 normal
      • tower ^0.4 normal
      • tower-http ^0.5 normal
      • tracing ^0.1 normal
      • tracing-subscriber ^0.3 normal
      • uuid ^1 normal
    • Versions
    • 60% 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

toast_api0.1.2

Crate Items

  • Structs
  • Enums
  • Constants
  • Functions

List of all items

Structs

  • api::Attachment
  • api::Claude
  • api::Session
  • server::AppState
  • server::Args
  • server::ChatCompletionRequest
  • server::Choice
  • server::ContentBlock
  • server::ContentObject
  • server::Message
  • server::MessageInner
  • server::OpenAIResponse
  • server::Usage
  • utils::EXEC_RE
  • utils::READ_RE

Enums

  • server::ContentValue

Functions

  • cli::async_main
  • cli::extract_org_id_from_cookie
  • cli::run
  • server::run
  • server::run_with_args
  • utils::decode_body
  • utils::extract_commands
  • utils::format_tool_line
  • utils::parse_stream
  • utils::prettify

Constants

  • config::BASE_URL
  • config::HAIKU_MODEL
  • config::MAX_INTERNAL_ITERS
  • config::OPUS_MODEL
  • config::SONNET_MODEL
  • config::SYSTEM_PROMPT