force 0.2.0

Production-ready Salesforce Platform API client with REST and Bulk API 2.0 support
Documentation
//! HTTP client layer with middleware for retry, rate limiting, and auth refresh.
//!
//! This module provides the HTTP execution layer that handles:
//! - Automatic token injection and Bearer authentication
//! - 401 response detection and automatic token refresh + retry
//! - 429 rate limit handling with Retry-After header respect
//! - Exponential backoff for retryable errors (503, network failures)
//! - Sforce-Limit-Info header tracking for API limits
//! - Detailed error parsing from Salesforce API responses

pub(crate) mod error;
pub(crate) mod executor;
pub(crate) mod retry;
pub(crate) mod telemetry;

pub(crate) use error::response_to_force_error;
pub use error::{parse_api_error, read_capped_body, read_capped_body_bytes, read_capped_bytes};
pub use executor::HttpExecutor;
pub use retry::{RequestRetryClass, RetryPolicy};
pub use telemetry::{RequestCompletion, RequestErrorKind, RetryEvent, TelemetryHooks};

#[cfg(test)]
mod tests;