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
31
32
33
34
35
36
37
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate serde;
#[macro_use]
extern crate maplit;
#[macro_use]
extern crate failure;
#[macro_use]
extern crate lazy_static;

#[macro_use]
mod macros;

pub mod json;
pub mod query;
pub mod schema;
pub mod schema_coercion;

pub mod prelude {
    pub use crate::query::Query;

    pub use crate::json::JsValue;

    pub use crate::schema::QueryNode;
    pub use crate::schema::SchemaNode;
    pub use crate::schema::SchemaCompiled;

    pub use crate::schema::ExtraProps;
    pub use crate::schema::SchemaDescription;

    pub use crate::schema::CompileError;
    pub use crate::schema::ValidationError;

    pub use crate::schema_coercion::Coercion;
    pub use crate::schema_coercion::CoercionError;
}