use std::sync::Once;
use mountpoint_s3_crt_sys::*;
use crate::common::allocator::Allocator;
pub mod allocator;
pub mod error;
pub mod logging;
pub mod ref_count;
pub mod rust_log_adapter;
pub mod task_scheduler;
pub mod uri;
static COMMON_LIBRARY_INIT: Once = Once::new();
fn common_library_init(allocator: &Allocator) {
COMMON_LIBRARY_INIT.call_once(|| {
unsafe {
aws_common_library_init(allocator.inner.as_ptr());
}
});
}