vortex-sdk 1.19.0

Vortex Rust SDK for authentication and invitation management
Documentation
//! Vortex Rust SDK
//!
//! This crate provides a Rust SDK for the Vortex authentication and invitation management platform.
//!
//! # Features
//!
//! - Generate JWTs compatible with React providers
//! - Full API integration for invitation management
//! - Async/await support with tokio
//! - Type-safe API with comprehensive error handling
//!
//! # Example
//!
//! ```no_run
//! use vortex_sdk::{VortexClient, User};
//!
//! #[tokio::main]
//! async fn main() {
//!     let client = VortexClient::new(std::env::var("VORTEX_API_KEY").unwrap());
//!
//!     // Generate a JWT
//!     let user = User::new("user-123", "user@example.com")
//!         .with_admin_scopes(vec!["autojoin".to_string()]);
//!     let jwt = client.generate_jwt(&user, None).unwrap();
//!
//!     println!("JWT: {}", jwt);
//!
//!     // Get invitations
//!     let invitations = client
//!         .get_invitations_by_target("email", "user@example.com")
//!         .await
//!         .unwrap();
//!
//!     println!("Found {} invitations", invitations.len());
//! }
//! ```

mod client;
mod error;
mod types;
pub mod webhook_types;
mod webhooks;

pub use client::VortexClient;
pub use error::VortexError;
pub use types::*;
pub use webhook_types::*;
pub use webhooks::VortexWebhooks;