verifex 0.2.0

Official Rust SDK for the Verifex sanctions screening API
Documentation
//! # Verifex
//!
//! Official Rust SDK for the [Verifex](https://verifex.dev) sanctions screening API.
//!
//! Screen persons and entities against OFAC, UN, EU, UK + 23 more sanctions lists
//! and 878K+ PEPs in a single API call.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use verifex::{Verifex, ScreenRequest};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), verifex::VerifexError> {
//!     let client = Verifex::new("vfx_your_api_key");
//!
//!     let result = client.screen(ScreenRequest {
//!         name: "Vladimir Putin".into(),
//!         ..Default::default()
//!     }).await?;
//!
//!     if result.is_clear() {
//!         println!("No sanctions match");
//!     } else {
//!         println!("Risk: {} ({} matches)", result.risk_level, result.total_matches);
//!     }
//!     Ok(())
//! }
//! ```

mod client;
mod errors;
mod types;

pub use client::Verifex;
pub use errors::VerifexError;
pub use types::*;