Skip to main content

autogen_squareup/
lib.rs

1//! # autogen-squareup
2//!
3//! Auto-generated, strongly-typed Rust client for the [Square API](https://developer.squareup.com/reference/square).
4//!
5//! ## Quick Start
6//!
7//! ```no_run
8//! use autogen_squareup::SquareClient;
9//!
10//! #[tokio::main]
11//! async fn main() {
12//!     let client = SquareClient::new("your-access-token");
13//!     // Use client.config() with generated API functions
14//! }
15//! ```
16//!
17//! ## Feature Flags
18//!
19//! By default all API groups are enabled. To reduce compile time, select only what you need:
20//!
21//! ```toml
22//! [dependencies]
23//! autogen-squareup = { version = "0.1", default-features = false, features = ["payments", "native-tls"] }
24//! ```
25
26#![allow(unused_imports)]
27#![allow(clippy::too_many_arguments)]
28
29pub mod apis;
30pub mod models;
31pub mod client;
32
33pub use client::{SquareClient, Environment};