bevy_steam_kit 0.3.0

Steam for Bevy as opt-in features around one shared callback pump: lobbies, rich presence and friend-join requests (feature `lobby`), stats and achievements (`stats`), leaderboards (`leaderboards`), Web API tickets (`auth`), the friends list and invites (`friends`), the overlay (`overlay`), as Bevy messages, with a fake backend for tests.
Documentation
//! The overlay half of the backend seam: [`OverlayBackend`], reached through
//! [`SteamBackend::overlay`](crate::SteamBackend::overlay).

/// What the store page does with the app besides showing it. `#[non_exhaustive]`.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum StoreFlag {
    /// Only show the page.
    #[default]
    None,
    /// Add the app to the cart.
    AddToCart,
    /// Add the app to the cart and show the cart.
    AddToCartAndShow,
}

/// Everything the overlay feature needs from Steam. Implementations must never panic; the kit
/// validates every request before calling (see [`OverlayErrorKind::InvalidRequest`](crate::OverlayErrorKind::InvalidRequest)).
///
/// You may implement it for your own backend. Stability promise: the methods below stay required
/// as they are, and every method added to this trait comes with a default implementation.
pub trait OverlayBackend {
    /// Steam reports the overlay as available to this process.
    fn overlay_enabled(&self) -> bool;
    /// Open the overlay as requested. `true` = the call was made (Steam gives no answer).
    fn open_overlay(&self, request: &crate::OpenOverlay) -> bool;
}