pub mod model;
pub mod parser;
pub mod project;
pub mod schema;
pub mod validation;
pub mod error;
pub use error::{Error, Result};
pub use model::{
Config, DependencyManager, DependencySpec, Project, Query, QueryLanguage, VersionRequirement,
};
pub use parser::{Block, GoldFile, GoldParser};
pub use schema::{Field, Schema, SchemaFormat, Type};
pub use validation::{AstValidator, Validator};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub mod prelude {
pub use crate::error::{Error, Result};
pub use crate::model::{DependencyManager, DependencySpec, Project, Query, QueryLanguage};
pub use crate::parser::{GoldFile, GoldParser};
pub use crate::schema::{Schema, SchemaFormat};
pub use crate::validation::{AstValidator, Validator};
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
}
}