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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! # bkash-rs
//!
//! Idiomatic async-first Rust client for the bKash Payment Gateway API.
//!
//! `bkash-rs` provides a strongly-typed, ergonomic interface to the bKash
//! Payment Gateway. It supports tokenized checkout, classic checkout, payment
//! authentication & capture, subscriptions, and webhook verification.
//!
//! ## Quickstart
//!
//! ```no_run
//! use bkash_rs::prelude::*;
//! # async fn run() -> Result<(), bkash_rs::Error> {
//! let bkash = Bkash::builder()
//! .environment(Environment::Sandbox)
//! .app_key("your_app_key")
//! .app_secret("your_app_secret")
//! .username("your_username")
//! .password("your_password")
//! .build()?;
//! let bkash = Bkash::new(bkash).await?;
//! # let _ = bkash;
//! # Ok(())
//! # }
//! ```
//!
//! ## Features
//!
//! - `rustls-tls` (default): Use `rustls` for TLS.
//! - `native-tls`: Use the platform's native TLS implementation.
//! - `tokenized-checkout` (default): Enable tokenized checkout endpoints.
//! - `checkout` (default): Enable classic checkout endpoints.
//! - `auth-capture`: Enable authorization & capture endpoints.
//! - `subscriptions`: Enable subscription endpoints.
//! - `webhooks`: Enable webhook signature verification.
pub use crateBkash;
pub use crate;
pub use crate;