1#![warn(
2 clippy::all,
3 clippy::missing_errors_doc,
4 clippy::style,
5 clippy::unseparated_literal_suffix,
6 clippy::pedantic,
7 clippy::nursery
8)]
9#![allow(clippy::missing_errors_doc)]
10
11#[derive(Debug, thiserror::Error)]
12pub enum WompiError {
13 #[error("Failed to send request")]
14 CredentialError(#[from] std::env::VarError),
15}
16
17mod oauth2;
18mod pay_url;
19mod recurring;
20mod webhook;
21
22pub use oauth2::{OAuth2Form, OAuth2Response};
23pub use pay_url::*;
24pub use recurring::*;
25
26pub use webhook::*;