#![doc(html_no_source)]
#![deny(missing_docs)]
#![deny(unsafe_code)]
#![warn(rust_2018_idioms)]
#![warn(clippy::all)]
#![warn(clippy::pedantic)]
#![warn(clippy::nursery)]
#![warn(clippy::cargo)]
#![allow(
clippy::blanket_clippy_restriction_lints,
clippy::implicit_return,
clippy::missing_docs_in_private_items,
clippy::shadow_reuse
)]
#[allow(
clippy::indexing_slicing,
clippy::unwrap_used,
clippy::unwrap_in_result,
clippy::mod_module_files
)]
mod api;
use rhai::{config::hashing::set_ahash_seed, exported_module, Module, Shared};
#[allow(unsafe_code)]
#[allow(improper_ctypes_definitions)]
#[no_mangle]
#[inline]
pub extern "C" fn module_entrypoint() -> Shared<Module> {
#[allow(clippy::unwrap_used)]
set_ahash_seed(Some([1, 2, 3, 4])).unwrap();
#[cfg(debug_assertions)]
#[allow(clippy::dbg_macro, clippy::std_instead_of_core)]
{
dbg!(std::any::TypeId::of::<rhai::ImmutableString>());
}
exported_module!(api::mysql_api).into()
}