1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! # `TileJSON`
//!
//! `tilejson` is a crate for serializing/deserializing
//! [TileJSON format](https://github.com/mapbox/tilejson-spec) —
//! an open standard for representing map metadata.
//!
//! Use [`tilejson!`] macro to instantiate a valid [`TileJSON`].
//! Use [`TileJSON::set_missing_defaults`] to populate default values per spec.

mod bounds;
mod center;
mod tilejson;
mod vector_layer;

pub use crate::bounds::*;
pub use crate::center::*;
pub use crate::tilejson::*;
pub use crate::vector_layer::*;

#[cfg(doctest)]
mod test_readme {
    macro_rules! external_doc_test {
        ($x:expr) => {
            #[doc = $x]
            extern "C" {}
        };
    }

    external_doc_test!(include_str!("../README.md"));
}