shacl_ast/
lib.rs

1//! SHACL Abstract Syntax
2//!
3//! Ths abstract syntax follows the [SHACL spec](https://www.w3.org/TR/shacl/)
4//!
5
6#![deny(rust_2018_idioms)]
7// The recursion limit is increased because the default one (128) is not enough for the big lazy_static declaration in the SHACL vocabulary definition
8#![recursion_limit = "256"]
9pub mod ast;
10pub mod compiled;
11pub mod converter;
12pub mod shacl_vocab;
13
14pub use ast::*;
15pub use converter::*;
16pub use shacl_vocab::*;
17
18/// SHACL Formats supported. Mostly RDF formats
19/// In the future, we could also support SHACL Compact format
20#[derive(Debug, Clone, Default)]
21pub enum ShaclFormat {
22    Internal,
23    #[default]
24    Turtle,
25    NTriples,
26    RDFXML,
27    TriG,
28    N3,
29    NQuads,
30}