#[cfg(not(any(feature = "webgpu", feature = "metal", feature = "vulkan", feature = "gl")))]
compile_error!("mln_runtime renders with at least one backend: enable `webgpu`, `metal`, `vulkan` or `gl`");
mod camera;
mod completion;
mod event;
mod feature_state;
mod gestures;
mod map;
#[cfg(not(target_family = "wasm"))]
mod offline;
#[cfg(target_family = "wasm")]
#[path = "offline_web.rs"]
mod offline;
pub mod registry;
mod render;
mod resources;
mod runtime;
mod style;
#[cfg(target_family = "wasm")]
mod web;
pub use camera::{CameraFitArea, CameraFitOptions, CameraFitUpdate, TileOptions, ViewportOptions};
pub use completion::Completion;
pub use event::{EventHandler, EventMask, EventSource, EventType, RuntimeEvent, RuntimeEventKind};
pub use feature_state::{FeatureState, FeatureStateSelector};
pub use map::{Applied, CameraQuery, CommandGroup, Map, MapId, MapOptions};
pub use mln_map::{LogicalExtent, MapSnapshot};
pub use mln_renderer::query::{RenderedQueryOptions, SourceQueryOptions};
pub use mln_renderer::{ClipDepthRange, FrameProjection};
pub use mln_util::{Error, ErrorKind};
pub use offline::Offline;
pub use render::{
AcquiredFrame, Adapter, AttachOptions, BackendType, BorrowedRing, CanvasFormat, ConsumerSync, DemandMode,
DepthStencilFormat, DepthStencilFormats, Device, DeviceOptions, DmaBufFormat, DmaBufPlane, Driver, DriverWork,
ExportKind, ExportKinds, ExportedImage, ExportedRing, FrameDemand, FrameDepth, FrameDisposition, FrameResult,
FrameTexture, FrameTextureKind, FrameView, GlApi, GpuSync, LocalTarget, NativeTexture, RenderSession,
RenderSessionCapabilities, RenderSessionSnapshot, RenderSessionState, RenderTarget, RenderedQueryGeometry, Surface,
SurfaceOverlay, SurfaceType, SyncKind, SyncKinds, Wake,
};
pub use resources::{CacheDatabaseOperation, ResourceProvider, ResourceRequest, is_managed_http_header};
pub use runtime::{Runtime, RuntimeOptions};
pub use style::{CustomSourceCallbacks, GeoJsonSourceOptions, LayerInfo, SourceInfo, SourceKind, SourceTiles};