1#![doc = include_str!("../README.md")]
2#![doc(test(attr(deny(warnings))))]
3#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4#![doc(html_favicon_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/main/logo.svg")]
5#![doc(html_logo_url = "https://raw.githubusercontent.com/oxigraph/oxigraph/main/logo.svg")]
6
7mod context;
8mod error;
9mod expansion;
10mod from_rdf;
11mod profile;
12mod to_rdf;
13
14pub use context::{JsonLdLoadDocumentOptions, JsonLdRemoteDocument};
15pub use error::{JsonLdErrorCode, JsonLdParseError, JsonLdSyntaxError, TextPosition};
16#[cfg(feature = "async-tokio")]
17pub use from_rdf::TokioAsyncWriterJsonLdSerializer;
18pub use from_rdf::{JsonLdSerializer, WriterJsonLdSerializer};
19pub use profile::{JsonLdProfile, JsonLdProfileSet};
20#[cfg(feature = "async-tokio")]
21pub use to_rdf::TokioAsyncReaderJsonLdParser;
22pub use to_rdf::{JsonLdParser, JsonLdPrefixesIter, ReaderJsonLdParser, SliceJsonLdParser};
23
24const MAX_CONTEXT_RECURSION: usize = 8;