//! Shared primitives for the `alpaca-rust` workspace.
//!
//! This crate contains lightweight building blocks reused by `alpaca-data`,
//! `alpaca-trade`, and `alpaca-mock`, including credentials, base URLs,
//! query serialization helpers, pagination helpers, and serde helpers.
//!
//! Most applications should start with `alpaca-data` or `alpaca-trade`.
//!
//! ```rust
//! use alpaca_core::Credentials;
//!
//! let credentials = Credentials::new("key", "secret")?;
//! assert_eq!(credentials.api_key(), "key");
//! # Ok::<(), alpaca_core::Error>(())
//! ```
//!
pub use Credentials;
pub use BaseUrl;
pub use Error;
pub use QueryWriter;