bsv_payment_actix_middleware/
lib.rs1#![warn(missing_docs)]
2pub mod config;
11pub mod error;
12pub mod extractor;
13pub mod middleware;
14pub mod types;
15
16#[cfg(feature = "bridge")]
17pub mod bridge;
18
19pub use config::{PaymentMiddlewareConfig, PaymentMiddlewareConfigBuilder};
20pub use error::PaymentError;
21pub use extractor::AuthIdentity;
22pub use middleware::{PaymentMiddlewareFactory, PaymentMiddlewareService};
23pub use types::{
24 BSVPayment, CalculateRequestPrice, PaymentInfo, DEFAULT_SATOSHIS, PAYMENT_VERSION,
25};
26
27#[cfg(feature = "bridge")]
28pub use bridge::{AuthToPaymentBridge, AuthToPaymentBridgeService};