#![forbid(unsafe_code)]
mod crosswalk;
mod error;
mod executor;
mod js;
mod ops;
mod output;
mod path;
mod roundtrip;
pub mod schema;
mod validate;
mod when;
pub use crosswalk::{
AggregateFunction, Crosswalk, Direction, FormatKind, OneWayRule, RuleSides, SinglePath,
TwoWayRule, parse_crosswalk, rule_sides,
};
pub use error::{CrossmapError, CrosswalkIssue, SyntaxIssue};
pub use executor::{Compiled, compile_crosswalk, decode, encode};
pub use js::{canonical_json, js_ordered, stringify, stringify_pretty};
pub use json_shape::Value;
pub use path::{
EmptySite, PathMatch, PathStep, Reading, TrailStep, format_path, format_trail, is_path,
parse_path, read_path, wildcard_count,
};
pub use roundtrip::assert_round_trip;
pub use validate::validate_crosswalk;
pub use when::{Gate, When, WhenElement};
#[cfg(doctest)]
#[doc = include_str!("../../../../README.md")]
struct ReadmeExamples;