#![warn(missing_docs)]
pub mod config;
pub mod error;
pub mod extractor;
pub mod middleware;
pub mod types;
#[cfg(feature = "bridge")]
pub mod bridge;
pub use config::{PaymentMiddlewareConfig, PaymentMiddlewareConfigBuilder};
pub use error::PaymentError;
pub use extractor::AuthIdentity;
pub use middleware::{PaymentMiddlewareFactory, PaymentMiddlewareService};
pub use types::{
BSVPayment, CalculateRequestPrice, PaymentInfo, DEFAULT_SATOSHIS, PAYMENT_VERSION,
};
#[cfg(feature = "bridge")]
pub use bridge::{AuthToPaymentBridge, AuthToPaymentBridgeService};