oci_api/
lib.rs

1//! # OCI API
2//!
3//! Oracle Cloud Infrastructure (OCI) API client for Rust.
4//!
5//! ## Features
6//!
7//! - Environment variable-based authentication
8//! - Email Delivery service support
9//! - Async I/O (tokio)
10//!
11//! ## Quick Start
12//!
13//! ```no_run
14//! use oci_api::auth::OciConfig;
15//!
16//! #[tokio::main]
17//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
18//!     // Load configuration from environment variables
19//!     let config = OciConfig::from_env()?;
20//!     
21//!     Ok(())
22//! }
23//! ```
24
25// Module declarations
26pub mod auth;
27pub mod client;
28pub mod error;
29pub mod services;
30pub mod utils;
31
32// Re-exports for convenient imports
33pub use auth::OciConfig;
34pub use client::OciClient;
35pub use error::{OciError, Result};
36
37// Re-export email module to allow `oci_api::email::*` (without `services`)
38pub use services::email;