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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*!
This crate provides a mapping to allow for the mapping of Smithy semantic models to and from
the W3C's [Resource Description Framework (RDF)](https://www.w3.org/RDF/). This allows for tools
to integrate Smithy models into other knowledge frameworks and to enrich the model with additional
facts from other tools. It also allows for inferencing over Smithy models using ontology languages
such as the W3C [Web Ontology Language (OWL)](https://www.w3.org/OWL/).

For the specifics of the mapping between RDF and Smithy, see the module [`model`](model/index.html).

*/

#![warn(
    // ---------- Stylistic
    future_incompatible,
    nonstandard_style,
    rust_2018_idioms,
    trivial_casts,
    trivial_numeric_casts,
    // ---------- Public
    missing_debug_implementations,
    missing_docs,
    unreachable_pub,
    // ---------- Unsafe
    unsafe_code,
    // ---------- Unused
    unused_extern_crates,
    unused_import_braces,
    unused_qualifications,
    unused_results,
)]

#[macro_use]
extern crate lazy_static;

#[allow(unused_imports)]
#[macro_use]
extern crate paste;

#[macro_use]
extern crate rdftk_names;

// ------------------------------------------------------------------------------------------------
// Modules
// ------------------------------------------------------------------------------------------------

#[doc(hidden)]
pub mod urn;

pub mod model;

pub mod reader;

pub mod writer;

pub mod vocabulary;