trustfall_core/
lib.rs

1#![forbid(unsafe_code)]
2#![forbid(unused_lifetimes)]
3#![forbid(elided_lifetimes_in_paths)]
4#![allow(clippy::result_large_err)] // TODO: clean this up repo-wide
5#![cfg_attr(docsrs, feature(doc_notable_trait))]
6
7#[macro_use]
8extern crate maplit;
9
10pub mod frontend;
11pub mod graphql_query;
12pub mod interpreter;
13pub mod ir;
14pub mod schema;
15mod serialization;
16mod util;
17
18pub use serialization::TryIntoStruct;
19
20// Test-only uses. `#[doc(hidden)]` items are not part of public API
21// and are not subject to semantic versioning rules.
22#[cfg(any(test, feature = "__private"))]
23#[doc(hidden)]
24pub mod filesystem_interpreter;
25#[cfg(any(test, feature = "__private"))]
26#[doc(hidden)]
27pub mod nullables_interpreter;
28#[cfg(any(test, feature = "__private"))]
29#[doc(hidden)]
30pub mod numbers_interpreter;
31#[cfg(any(test, feature = "__private"))]
32#[doc(hidden)]
33pub mod test_types;