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
// This is free and unencumbered software released into the public domain.
//! A Turtle file reader for RDF.rs, a Rust framework for RDF
//! knowledge graphs.
//!
//! # Examples
//!
//! ```rust,no_run
//! # #[tokio::main]
//! # async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! use tokio::fs::File;
//! let file = File::open("example.ttl").await?;
//!
//! use rdf_reader_turtle::TurtleReader;
//! let reader = TurtleReader::from(file);
//!
//! use futures::StreamExt;
//! reader
//! .into_stream()
//! .for_each(|triple| async move {
//! eprintln!("{:?}", triple);
//! })
//! .await;
//! # Ok(())
//! # }
//! ```
extern crate alloc;
pub use *;