Skip to main content

rdf_store/
lib.rs

1// This is free and unencumbered software released into the public domain.
2
3//! An in-memory storage adapter for RDF.rs, a Rust framework for RDF
4//! knowledge graphs.
5//!
6//! # Examples
7//!
8//! ```rust
9//! use rdf_store::{HeapStore, HeapTransaction};
10//! ```
11
12#![no_std]
13#![deny(unsafe_code)]
14
15#[cfg(feature = "alloc")]
16extern crate alloc;
17
18#[cfg(feature = "std")]
19extern crate std;
20
21#[cfg(feature = "alloc")]
22mod heap {
23    mod store;
24    pub use store::*;
25    mod transaction;
26    pub use transaction::*;
27}
28#[cfg(feature = "alloc")]
29pub use heap::*;
30
31mod store;
32pub use store::*;
33
34mod store_options;
35pub use store_options::*;
36
37mod read_transaction;
38pub use read_transaction::*;
39
40mod write_transaction;
41pub use write_transaction::*;