brawl-rs 0.1.0

A Rust wrapper for the Brawl Stars API
Documentation
//! Re-exports of commonly used types and traits.
//!
//! The prelude module provides convenient access to the most frequently used types
//! from the brawl-rs crate. Import everything with:
//!
//! ```
//! use brawl_rs::prelude::*;
//! ```
//!
//! This is equivalent to importing:
//! - [`crate::client::BrawlClient`] - The main API client
//! - [`crate::errors::BrawlError`] - Error type for all operations
//! - All types from [`crate::models`] - Player, Club, Brawlers, BattleLog, Rankings, etc.

pub use crate::client::BrawlClient;
pub use crate::errors::BrawlError;
pub use crate::models::*;

#[cfg(feature = "player")]
pub use crate::models::player::Player;

#[cfg(feature = "club")]
pub use crate::models::club::Club;

#[cfg(feature = "battle_log")]
pub use crate::models::battle_log::BattleLog;

#[cfg(feature = "brawlers")]
pub use crate::models::brawlers::{BrawlerInfo, Brawlers};

#[cfg(feature = "rankings")]
pub use crate::models::rankings::{Rankings, RankingsClub, RankingsPlayer};

#[cfg(feature = "events")]
pub use crate::models::events::{GameModes, Rotation};