#![allow(
unsafe_code,
reason = "the C ABI boundary needs raw-pointer handling in every module; the crate-level allowance is what makes those blocks compile"
)]
#[doc(hidden)]
#[macro_export]
macro_rules! ffi_guard {
($fallback:expr, $body:block) => {{
match std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| $body)) {
Ok(value) => value,
Err(_) => $fallback,
}
}};
}
mod builder;
mod client;
mod error;
mod ffi_response;
mod handle;
mod protocol;
mod request;
mod response;
mod runtime;
mod streaming;
pub use builder::*;
pub use client::*;
pub use error::*;
pub use ffi_response::*;
pub use handle::*;
pub use request::*;
pub use response::*;
pub use streaming::*;