Use [`ACAB::load.
Val}; use serde::Serialize; use std::sync::Arc; use crate::{ Result, VibeCodedError, acab::State, little_autist::LittleAutist}; #[cfg(feature = "lua")] #[must_use] pub fn iter() -> impl Registerable { library! { #[clone] type Rng = Val<Rng>; #[clone] type MaxmindASNDB = Val<MaxmindASNDB>; #[clone] type TemplateEngine = Val<TemplateEngine>; #[clone] type MaxmindCountryDB = Val<MaxmindCountryDB>; impl Val<Matcher> { fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M) { add_header_methods(methods); methods.add_method_mut("minify", .