shared-framework 0.0.17

Reusable building blocks for HTTP services — Hyper routing, SeaORM data layer, validation, OpenAPI docs, jobs, queues, cache.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared value types.
//!
//! Provides [`BatchContainer`] for grouping items into fixed-size batches,
//! [`GeoPolygon`] for GeoJSON polygons with point-in-polygon tests, and
//! [`RangeMap`] for looking up values by integer range.
//!
//! Use these when batching writes, checking geographic containment,
//! or mapping numeric keys to ranged buckets.

pub mod batch_container;
pub mod geo_polygon;
pub mod range_map;

pub use batch_container::BatchContainer;
pub use geo_polygon::GeoPolygon;
pub use range_map::RangeMap;