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