Skip to main content

Crate rdf_writer_ntriples

Crate rdf_writer_ntriples 

Source
Expand description

An N-Triples file writer for RDF.rs, a Rust framework for RDF knowledge graphs.

§Examples

use tokio::fs::File;
let file = File::create("output.nt").await?;

use rdf_writer_ntriples::NtriplesWriter;
let writer = NtriplesWriter::from(file);

writer.finish().await?;

See: https://www.w3.org/TR/rdf12-n-triples/

Structs§

NtriplesWriter
A writer (aka serializer) for the N-Triples text format.

Type Aliases§

NtriplesWriterError
An error encountered while writing an N-Triples file.
NtriplesWriterResult
The result type for N-Triples writer operations.