stoat_core/lib.rs
1//! stoat-core: Pure logic for stoat (sans-IO)
2//!
3//! This crate contains no I/O dependencies — no tokio, no async, no network,
4//! no filesystem access. All logic is expressed as pure functions and types.
5//!
6//! Responsibilities:
7//! - Config file types and deserialization
8//! - PKCE code verifier and S256 challenge generation
9//! - OAuth authorization URL construction
10//! - Token types and expiry checking
11//! - Request transformation (header stripping, header setting with template
12//! resolution, query parameter appending)
13
14#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used, clippy::panic))]
15
16pub mod config;
17pub mod oauth;
18pub mod paths;
19pub mod pkce;
20pub mod token;
21pub mod transform;