1#[cfg(not(any(feature = "webgpu", feature = "metal", feature = "vulkan", feature = "gl")))]
29compile_error!("mln_runtime renders with at least one backend: enable `webgpu`, `metal`, `vulkan` or `gl`");
30
31#[cfg(all(feature = "bench", not(target_family = "wasm")))]
32#[doc(hidden)]
33pub mod bench;
34mod camera;
35mod completion;
36mod event;
37mod feature_state;
38mod gestures;
39mod map;
40#[cfg(not(target_family = "wasm"))]
41mod offline;
42#[cfg(target_family = "wasm")]
43#[path = "offline_web.rs"]
44mod offline;
45pub mod registry;
46mod render;
47mod resources;
48mod runtime;
49mod style;
50#[cfg(target_family = "wasm")]
51mod web;
52
53pub use camera::{CameraFitArea, CameraFitOptions, CameraFitUpdate, TileOptions, ViewportOptions};
54pub use completion::Completion;
55pub use event::{EventHandler, EventMask, EventSource, EventType, RuntimeEvent, RuntimeEventKind};
56pub use feature_state::{FeatureState, FeatureStateSelector};
57pub use map::{Applied, CameraQuery, CommandGroup, Map, MapId, MapOptions};
58pub use mln_map::{LogicalExtent, MapSnapshot};
59pub use mln_renderer::query::{RenderedQueryOptions, SourceQueryOptions};
60pub use mln_renderer::{ClipDepthRange, FrameProjection};
61pub use mln_util::{Error, ErrorKind};
62pub use offline::Offline;
63pub use render::{
64 AcquiredFrame, Adapter, AttachOptions, BackendRef, BackendType, BorrowedRing, CanvasFormat, ConsumerSync,
65 DemandMode, DepthStencilFormat, DepthStencilFormats, Device, DeviceOptions, DmaBufFormat, DmaBufPlane, Driver,
66 DriverWork, ExportKind, ExportKinds, ExportedImage, ExportedRing, FrameDemand, FrameDepth, FrameDisposition,
67 FrameResult, FrameTexture, FrameTextureKind, FrameView, GlApi, GpuSync, LocalTarget, NativeTexture, RenderSession,
68 RenderSessionCapabilities, RenderSessionSnapshot, RenderSessionState, RenderTarget, RenderedQueryGeometry, Surface,
69 SurfaceOverlay, SurfaceType, SyncKind, SyncKinds, Wake,
70};
71pub use resources::{CacheDatabaseOperation, ResourceProvider, ResourceRequest, is_managed_http_header};
72pub use runtime::{Runtime, RuntimeOptions};
73pub use style::{CustomSourceCallbacks, GeoJsonSourceOptions, LayerInfo, SourceInfo, SourceKind, SourceTiles};