Skip to main content

Crate stoat_core

Crate stoat_core 

Source
Expand description

stoat-core: Pure logic for stoat (sans-IO)

This crate contains no I/O dependencies — no tokio, no async, no network, no filesystem access. All logic is expressed as pure functions and types.

Responsibilities:

  • Config file types and deserialization
  • PKCE code verifier and S256 challenge generation
  • OAuth authorization URL construction
  • Token types and expiry checking
  • Request transformation (header stripping, header setting with template resolution, query parameter appending)

Modules§

config
Configuration types for stoat.
oauth
OAuth authorization URL construction and helpers.
paths
Path utilities for stoat.
pkce
PKCE (Proof Key for Code Exchange) support for OAuth 2.0.
token
Token types for stoat.
transform
Request transformation logic.