1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! # 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(())
//! }
//! ```
pub use Verifex;
pub use VerifexError;
pub use *;