mapstic 0.1.0

Tooling to generate Elasticsearch index mappings from type definitions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Test case that exercises option parsing pathways.

use helpers::assert_snapshot;
use inputs::params::{Override, Params};
use mapstic::ToMapping;

mod helpers;
mod inputs;

#[test]
fn over_ride() {
    assert_snapshot!(Override::to_mapping());
}

#[test]
fn params() {
    assert_snapshot!(Params::to_mapping());
}