1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Google Apps Script (GAS) proxy client for `steam-user`.
//!
//! This module provides [`GasSteamUser`], which mirrors the `SteamUser` API
//! but delegates all operations to a Google Apps Script endpoint, routing
//! traffic through Google's infrastructure to avoid local IP rate limits.
//!
//! # Feature flag
//!
//! This module is only available when the `gas` feature is enabled:
//!
//! ```toml
//! [dependencies]
//! steam-user = { version = "...", features = ["gas"] }
//! ```
//!
//! # Example
//!
//! ```rust,no_run
//! use steam_user::gas::GasSteamUser;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), steam_user::gas::GasError> {
//! // Default endpoint
//! let gas = GasSteamUser::default();
//!
//! // Custom endpoint
//! let gas = GasSteamUser::new("https://script.google.com/macros/s/.../exec");
//!
//! let pong = gas.ping().await?;
//! println!("{}", pong);
//!
//! Ok(())
//! }
//! ```
pub use ;
pub use GasError;