mlt-core 0.20.1

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.
#[cfg(feature = "unstable-v2")]
pub(crate) use geometry::decode::run_offsets;
pub(crate) use geometry::decode::{Levels, decode_topology};
pub(crate) use geometry::{GeoTypes, Geometry, IndexBase, 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, ParsedLayer, Unknown};
pub(crate) use model01::{BASE_TYPE_MASK, Column, OPTIONAL_FLAG};
pub use model01::{ColumnType, Layer01, ParsedLayer01};
#[cfg(feature = "unstable-v2")]
pub(crate) use model02::{
    Column02, ColumnCounts, ColumnKind02, ColumnType02, DataType02, Extent02, IdWidth02,
    Interior02, LayerHeader02, NodeKind02, NodePresence, NodeType02, Presence02, SharedDictKind,
    Topology, ValueType02, ValuesColumn02, VertexStorage,
};
#[cfg(feature = "unstable-v2")]
pub use model02::{GeoLayout, Layer02, LayerLayout, ParsedLayer02};
#[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 use property::{ColumnDecl, ColumnStorage, DictLayout, StringLayout};
pub(crate) use property::{
    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, XyzLogical};
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,
};