Skip to main content

rdf_hash/
lib.rs

1// This is free and unencumbered software released into the public domain.
2
3//! RDF.rs is a Rust framework for working with RDF knowledge graphs.
4//!
5//! # Examples
6//!
7//! ```rust
8//! use rdf_hash::{TermHash, TripleHash};
9//! ```
10
11#![no_std]
12#![deny(unsafe_code)]
13#![allow(unused_imports)]
14
15extern crate alloc;
16
17#[cfg(feature = "std")]
18extern crate std;
19
20#[cfg(feature = "blake3")]
21mod term_hash;
22#[cfg(feature = "blake3")]
23pub use term_hash::*;
24
25#[cfg(feature = "blake3")]
26mod triple_hash;
27#[cfg(feature = "blake3")]
28pub use triple_hash::*;