#![deny(clippy::disallowed_macros)]
#![cfg_attr(test, allow(clippy::disallowed_macros))]
#[cfg(feature = "profile")]
macro_rules! profile_span {
($name:literal) => {
let __ox_profile_guard = ::ox_content_profiler::ScopeGuard::enter($name);
};
}
#[cfg(not(feature = "profile"))]
macro_rules! profile_span {
($name:literal) => {};
}
pub(crate) use profile_span;
#[cfg(feature = "frameworks")]
pub mod frameworks;
mod html;
mod render;
#[cfg(feature = "frameworks")]
pub use frameworks::{
escape_svelte_markup, render_framework_component_code, FrameworkCodegenError,
FrameworkCodegenTarget, FrameworkComponentIsland,
};
pub use html::{CodeAnnotationSyntax, HtmlRenderer, HtmlRendererOptions};
pub use render::{RenderError, RenderResult, Renderer};