Expand description
Stateless X API utility toolkit.
Provides pure, stateless functions for all X API operations.
Each function takes &dyn XApiClient and operation-specific parameters,
performs input validation, and delegates to the client trait.
No policy enforcement, audit logging, rate limiting, or DB access here. Those concerns belong in the workflow layer (AD-04, AD-12).
Modules§
- engage
- Stateless engagement operations over
&dyn XApiClient. - media
- Stateless media operations over
&dyn XApiClient. - read
- Stateless read operations over
&dyn XApiClient. - write
- Stateless write operations over
&dyn XApiClient.
Enums§
- Toolkit
Error - Errors from toolkit operations.
Constants§
- MAX_
TWEET_ LENGTH - Maximum tweet length enforced by the X API.
Functions§
- validate_
tweet_ length - Validate tweet text length (stateless check).