bitrouter-api 0.22.0

BitRouter API - reusable warp server components for AI model routing
Documentation
mod close_guard;
mod filter;
pub mod metered_sse;
mod payment_gate;
mod pricing;
mod state;

#[cfg(feature = "mpp-solana")]
pub mod solana_channel_store;
#[cfg(feature = "mpp-solana")]
pub mod solana_session_method;
#[cfg(feature = "mpp-solana")]
pub mod solana_types;
#[cfg(feature = "mpp-solana")]
pub mod solana_voucher;

pub use close_guard::SessionCloseGuard;
pub use filter::{
    MppChallenge, MppPaymentContext, MppVerificationFailed, handle_mpp_rejection,
    mpp_payment_filter, verify_mpp_payment,
};
pub use payment_gate::PaymentGate;
pub use pricing::{PricingLookup, calculate_usage_cost, cost_to_micro_units};
pub use state::MppState;