mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
* Spell fixes, possibly breaking "Uninizalized" rename A few minor tweaks, including `InitializationResult` enum and `unwarp_renderer` spelling fixes --------- Co-authored-by: Max Ammann <max@maxammann.org>
22 lines
752 B
Rust
22 lines
752 B
Rust
use crate::WHATWGOffscreenKernelEnvironment;
|
|
|
|
pub mod http_client;
|
|
|
|
#[cfg(target_feature = "atomics")]
|
|
pub mod multithreaded;
|
|
|
|
#[cfg(not(target_feature = "atomics"))]
|
|
pub mod singlethreaded;
|
|
|
|
#[cfg(target_feature = "atomics")]
|
|
pub type UsedRasterTransferables = maplibre::raster::DefaultRasterTransferables;
|
|
#[cfg(not(target_feature = "atomics"))]
|
|
pub type UsedRasterTransferables = singlethreaded::transferables::FlatTransferables;
|
|
|
|
#[cfg(target_feature = "atomics")]
|
|
pub type UsedVectorTransferables = maplibre::vector::DefaultVectorTransferables;
|
|
#[cfg(not(target_feature = "atomics"))]
|
|
pub type UsedVectorTransferables = singlethreaded::transferables::FlatTransferables;
|
|
|
|
pub type UsedOffscreenKernelEnvironment = WHATWGOffscreenKernelEnvironment;
|