alpaca_base/lib.rs
1//! # Alpaca Base
2//!
3//! Base library with common structs, traits, and logic for Alpaca API clients.
4//! This crate provides shared types, error handling, and utilities used across
5//! all Alpaca API client implementations.
6
7/// Authentication types and utilities.
8pub mod auth;
9/// Error types and handling.
10pub mod error;
11/// Test utilities and fixtures (requires `test-utils` feature).
12#[cfg(any(test, feature = "test-utils"))]
13pub mod test_utils;
14/// Core API types and data structures.
15pub mod types;
16/// Utility functions and helpers.
17pub mod utils;
18
19pub use auth::*;
20pub use error::{
21 AlpacaError, ApiErrorCode, ApiErrorResponse, RateLimitInfo, Result, ValidationError,
22};
23pub use types::*;
24pub use utils::*;