ip_allocator_client/
lib.rs

1//! IP Allocator API Client
2//!
3//! This crate provides a Rust client for the IP Allocator API.
4//! The client is auto-generated from the OpenAPI specification.
5//!
6//! ## Example
7//!
8//! ```no_run
9//! use ip_allocator_client::Client;
10//!
11//! #[tokio::main]
12//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
13//!     let client = Client::new("http://localhost:8000");
14//!
15//!     // Borrow an item
16//!     let result = client.handlers_ip_borrow().await?;
17//!     println!("Borrowed item: {:?}", result);
18//!
19//!     Ok(())
20//! }
21//! ```
22
23#![allow(clippy::all)]
24#![allow(unused_imports, dead_code)]
25
26include!(concat!(env!("OUT_DIR"), "/codegen.rs"));