mlt-core 0.14.5

MapLibre Tile library code
Documentation
mod analyze;
#[cfg(all(not(test), feature = "arbitrary"))]
pub mod fuzzing;
mod geometry;
mod id;
mod into_tile;
mod iterators;
mod layer;
mod limits;
mod model;
mod model01;
#[cfg(feature = "unstable-v2")]
mod model02;
#[cfg(feature = "unstable-v2")]
mod mvalue;
#[cfg(feature = "unstable-v2")]
pub(crate) mod nested;
mod property;
mod root01;
#[cfg(feature = "unstable-v2")]
pub(crate) mod root02;
pub(crate) mod stream;

// ── Public API ────────────────────────────────────────────────────────────────

// ── Crate-internal re-exports ─────────────────────────────────────────────────
// Allow internal modules to keep using `crate::decoder::*` paths without
// reaching into sub-module paths explicitly.
pub(crate) use geometry::{GeoTypes, Geometry, RawGeometry};
pub use geometry::{GeometryType, GeometryValues};
pub use id::ParsedId;
// pub (not pub(crate)) so __private module can re-export it
pub(crate) use id::{Id, RawId, RawIdValue};
pub use iterators::{
    ColNames, ColumnRef, FeatureRef, Layer01FeatureIter, LendingIterator, PropName, PropNamesIter,
    PropValueRef,
};
pub use limits::{Decoder, Parser};
pub use model::{Layer, Layer01, ParsedLayer, ParsedLayer01, Unknown};
pub use model01::ColumnType;
pub(crate) use model01::{BASE_TYPE_MASK, Column, OPTIONAL_FLAG};
#[cfg(feature = "unstable-v2")]
pub(crate) use model02::{
    Column02, ColumnCounts, ColumnKind02, ColumnType02, DataType02, Extent02, GeoLayout, IdWidth02,
    Interior02, LayerHeader02, LayerLayout, NodeKind02, NodePresence, NodeType02, Presence02,
    SharedDictKind, Topology, ValueType02, ValuesColumn02, VertexStorage,
};
#[cfg(feature = "unstable-v2")]
pub use mvalue::{MValueColumn, MValueSpans, MValues, ParsedMValue, RawMValue};
#[cfg(feature = "unstable-v2")]
pub use nested::{
    Nested, ParsedInterior, ParsedLeaf, ParsedList, ParsedMap, ParsedNested, ParsedNode,
    ParsedStruct, RawInterior, RawLeaf, RawList, RawMap, RawNested, RawNode, RawStruct,
};
// Re-export strings sub-module so encoder can use `crate::decoder::strings::*`
pub(crate) use property::strings;
pub(crate) use property::{
    DictLayout, DictRange, ParsedProperty, ParsedScalar, ParsedSharedDict, ParsedSharedDictItem,
    ParsedStrings, Property, RawFloats, RawFloatsEncoding, RawFsstData, RawPlainData, RawPresence,
    RawProperty, RawScalar, RawSharedDict, RawSharedDictEncoding, RawSharedDictItem, RawStrings,
    RawStringsEncoding,
};
#[cfg(feature = "unstable-v2")]
pub(crate) use stream::model::{Alp, AlpScale};
pub(crate) use stream::model::{
    BoolLogical, DictionaryType, FastPForKind, FloatLogical, IntEncoding, IntLogical, LengthType,
    LogicalCombination, LogicalEncoding, LogicalTechnique, LogicalValue, Morton, OffsetType,
    PhysicalEncoding, RawStream, RleLayout, RleMeta, StreamMeta, StreamType, ValueKind,
    VertexLogical,
};