= 4}), env = specials["make-compiler-env"](nil, compiler.scopes.compiler.
{ STANDARD.encode(&self.0) } } } } pub type OutputFunc = TypedFunc<IocaineContext, fn(Val<SharedRequest>) -> Option<Arc<str>>>; pub type MutableMap = Arc<RwLock<Map>>; #[derive(Debug, Clone, Default)] pub struct TemplateEngine(Arc<RwLock<Engine<'static>>>); #[derive(Clone)] pub struct StringList(pub Rc<RefCell<Vec<Arc<str>>>>); impl Deref for StringList { fn default() -> Self { globals: GlobalMap::default().into(), rng: GobbledyGook::default().into(), config: MutableMap::default().into(), script_path: Arc::default(), instance_id: Arc::from(uuid::Uuid::new_v4().to_string()), } } } } } } pub fn init(options: &VaccineSpecs) -> Result<()> { let trusted_paths .