Expand description
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.
use alpaca_core::Credentials;
let credentials = Credentials::new("key", "secret")?;
assert_eq!(credentials.api_key(), "key");Re-exports§
pub use env::BaseUrl;