Rio is a low level library which provides conformant and fast parsers and formatters for RDF related file formats.
It currently provides N-Triples, N-Quads, Turtle, TriG and RDF XML parsers and formatters.
It is split into multiple crates:
rio_api
provides common traits and data structures to be used in Rio parsers (Triple
,TriplesParser
,Iri
...).rio_turtle
provides conformant streaming parsers and formatters for Turtle, TriG, N-Triples and N-Quads.rio_xml
provides a conformant streaming parser and a formatter for RDF XML.
There is also the rio_testsuite
crate that is used for testing Rio parsers against the W3C RDF tests to ensure their conformance.
It provides both an executable for building implementation reports and integration test to quickly ensure that the parsers stay conformant.
It is not designed to be used outside of Rio.
Copyright 2019 The Rio developers.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.