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
//! This crate provides basic interfaces and data structures for building [RDF 1.1](https://www.w3.org/TR/rdf11-concepts/) and [RDF-star](https://w3c.github.io/rdf-star/cg-spec/) parsers.
//!
//! It is currently used by the `rio_turtle` and `rio_xml` crates.
//!
//! If the `sophia` feature is enabled, the types defined in [`model`] implement the appropriate trait from [Sophia]( https://crates.io/crates/sophia_api).
#![deny(
future_incompatible,
nonstandard_style,
rust_2018_idioms,
missing_copy_implementations,
trivial_casts,
trivial_numeric_casts,
unsafe_code,
unused_qualifications
)]
#![doc(test(attr(deny(warnings))))]
pub mod formatter;
pub mod model;
pub mod parser;
#[cfg(feature = "generalized")]
mod generalized;
#[cfg(feature = "sophia_api")]
mod sophia;