pub mod config;
pub mod credential;
pub mod grpc;
pub mod http;
pub mod mock;
pub mod trace;
pub(crate) fn backoff_ms(attempt: u32) -> u64 {
const DELAYS: &[u64] = &[100, 1_000];
DELAYS.get(attempt as usize).copied().unwrap_or(5_000)
}
pub use config::{GrpcConfig, HttpConfig, MockConfig, TransportConfig};
pub use credential::{CredentialChain, CredentialSource, ResolvedCredential};
pub use grpc::GrpcConnection;
pub use http::{ArrowResponse, AuthenticatedReplayError, HttpTransport};
pub use mock::{MockRecord, MockTransport};